swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.72k stars 1.11k forks source link

Mapped trackball buttons started releasing both mapped and the default button #7138

Open mateuszsip opened 2 years ago

mateuszsip commented 2 years ago

Please fill out the following:

wev confirms that's happening for all mapped buttons

[13:      wl_pointer] button: serial: 4751; time: 1278882; button: 274 (middle), state: 1 (pressed)
[13:      wl_pointer] frame
[13:      wl_pointer] button: serial: 4752; time: 1278882; button: 274 (middle), state: 0 (released)
[13:      wl_pointer] frame
[13:      wl_pointer] frame
[13:      wl_pointer] button: serial: 4753; time: 1278882; button: 275 (side), state: 0 (released)
[13:      wl_pointer] frame```
emersion commented 2 years ago

Can you provide a libinput debug-events log as well?

mateuszsip commented 2 years ago

Sure, this one records buttons before mapping, only press/release, as expected

-event13  DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event10  DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event9   DEVICE_ADDED            Power Button                      seat0 default group3  cap:k
-event11  DEVICE_ADDED            Lid Switch                        seat0 default group4  cap:S
 event11  SWITCH_TOGGLE           +0.000s   switch lid state 1
-event12  DEVICE_ADDED            Sleep Button                      seat0 default group5  cap:k
-event23  DEVICE_ADDED            Integrated Camera: Integrated C   seat0 default group6  cap:k
-event24  DEVICE_ADDED            Integrated Camera: Integrated I   seat0 default group6  cap:k
-event2   DEVICE_ADDED            Kensington Expert Wireless TB Mouse seat0 default group7  cap:p left scroll-nat scroll-button
-event3   DEVICE_ADDED            Kensington Expert Wireless TB Consumer Control seat0 default group7  cap:k
-event25  DEVICE_ADDED            HD Pro Webcam C920                seat0 default group8  cap:k
-event5   DEVICE_ADDED            Cooler Master Technology Inc. MasterKeys Pro S white seat0 default group9  cap:k
-event6   DEVICE_ADDED            Cooler Master Technology Inc. MasterKeys Pro S white System Control seat0 default group9  cap:k
-event7   DEVICE_ADDED            Cooler Master Technology Inc. MasterKeys Pro S white Consumer Control seat0 default group9  cap:k
-event8   DEVICE_ADDED            Cooler Master Technology Inc. MasterKeys Pro S white Keyboard seat0 default group9  cap:k
-event4   DEVICE_ADDED            SteelSeries Arctis 7+             seat0 default group10 cap:k
-event1   DEVICE_ADDED            Yubico YubiKey OTP+FIDO+CCID      seat0 default group11 cap:k
-event0   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group12 cap:k
-event22  DEVICE_ADDED            SynPS/2 Synaptics TouchPad        seat0 default group13 cap:pg  size 100x68mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event26  DEVICE_ADDED            TPPS/2 Elan TrackPoint            seat0 default group14 cap:p left scroll-nat scroll-button
-event14  DEVICE_ADDED            ThinkPad Extra Buttons            seat0 default group15 cap:k
-event2   POINTER_BUTTON          +0.000s   BTN_LEFT (272) pressed, seat count: 1
 event2   POINTER_BUTTON          +0.122s   BTN_LEFT (272) released, seat count: 0
 event2   POINTER_BUTTON          +1.024s   BTN_RIGHT (273) pressed, seat count: 1
 event2   POINTER_BUTTON          +1.262s   BTN_RIGHT (273) released, seat count: 0
 event2   POINTER_BUTTON          +2.624s   BTN_SIDE (275) pressed, seat count: 1
 event2   POINTER_BUTTON          +2.744s   BTN_SIDE (275) released, seat count: 0
 event2   POINTER_BUTTON          +3.386s   BTN_RIGHT (273) pressed, seat count: 1
 event2   POINTER_BUTTON          +3.522s   BTN_RIGHT (273) released, seat count: 0
 event2   POINTER_BUTTON          +4.464s   BTN_MIDDLE (274) pressed, seat count: 1
 event2   POINTER_BUTTON          +4.610s   BTN_MIDDLE (274) released, seat count: 0
 event2   POINTER_BUTTON          +5.160s   BTN_LEFT (272) pressed, seat count: 1
 event2   POINTER_BUTTON          +5.266s   BTN_LEFT (272) released, seat count: 0
 event2   POINTER_BUTTON          +6.028s   BTN_RIGHT (273) pressed, seat count: 1
 event2   POINTER_BUTTON          +6.150s   BTN_RIGHT (273) released, seat count: 0
 event2   POINTER_BUTTON          +6.622s   BTN_LEFT (272) pressed, seat count: 1
 event2   POINTER_BUTTON          +6.754s   BTN_LEFT (272) released, seat count: 0
 event2   POINTER_BUTTON          +7.344s   BTN_MIDDLE (274) pressed, seat count: 1
 event2   POINTER_BUTTON          +7.450s   BTN_MIDDLE (274) released, seat count: 0
 event2   POINTER_BUTTON          +8.136s   BTN_SIDE (275) pressed, seat count: 1
 event2   POINTER_BUTTON          +8.302s   BTN_SIDE (275) released, seat count: 0
 event2   POINTER_BUTTON          +8.802s   BTN_RIGHT (273) pressed, seat count: 1
 event2   POINTER_BUTTON          +8.938s   BTN_RIGHT (273) released, seat count: 0
 event2   POINTER_BUTTON          +9.316s   BTN_LEFT (272) pressed, seat count: 1
 event2   POINTER_BUTTON          +9.448s   BTN_LEFT (272) released, seat count: 0
 event2   POINTER_BUTTON          +9.670s   BTN_RIGHT (273) pressed, seat count: 1
 event2   POINTER_BUTTON          +9.806s   BTN_RIGHT (273) released, seat count: 0
 event2   POINTER_BUTTON          +10.270s  BTN_SIDE (275) pressed, seat count: 1
 event2   POINTER_BUTTON          +10.420s  BTN_SIDE (275) released, seat count: 0
 event2   POINTER_BUTTON          +10.890s  BTN_MIDDLE (274) pressed, seat count: 1
 event2   POINTER_BUTTON          +11.026s  BTN_MIDDLE (274) released, seat count: 0
tanish1729 commented 2 years ago

heyy. i would like to work on this issue if you could tell me how to go about it

mateuszsip commented 2 years ago

@tanish1729 what can I provide to help you?