You are not logged in.
I plugged an Apple Touchpad into my workstation and it is recognized as a mouse in Sway:
$ swaymsg -t get_inputs
Input device: Apple Inc. Magic Trackpad Mouse
Type: Mouse
Identifier: 1452:613:Apple_Inc._Magic_Trackpad_Mouse
Product ID: 613
Vendor ID: 1452
Libinput Send Events: enabled
[...]The pointer moves and I can left-click by hard-pressing the touchpad. But two-finger scrolling and tap actions are not recognized.
Since I cannot configure Sway within the usual "input type:touchpad" stanza, I tried to address it via its ID:
input "1452:613:Apple_Inc._Magic_Trackpad_Mouse" {
tap enabled
tap_button_map lrm
scroll_factor .25
}But still I cannot get the touchpad to behave as my previous (non-Apple) one, which I configured exactly as quoted above (via "input type:touchpad").
Any hins?
Thanks
gm
Last edited by gattu_marrudu (2025-05-31 12:37:43)
Offline
It turned out that a reboot was necessary (or maybe just exiting Sway). Just reloading the Sway configuration wouldn't do.
Offline