linux-surface / linux-surface

Linux Kernel for Surface Devices
4.53k stars 202 forks source link

Surface pen click actions triggered on touch #1415

Open rommeswi opened 1 month ago

rommeswi commented 1 month ago

If I run Xournal++ and activate any of the button action settings (for example "draw selection"), already very lightly touching the button on the pen triggers the button press action and I select from the drawing instead of drawing regularly. This makes the pen action useless. The same happens when touching the eraser, it will immediately trigger the second button action.

It seems that while the pen should be pressure-sensitive, the buttons should not be.

Environment

`dmesg` output ``` Nothing except lots of messages of the form: [8412.725143] filter_IN_public_REJECT: IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:b0:95:75:24:25:74:08:00 SRC=192.168.0.1 DST=224.0.0.251 LEN=72 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=UDP SPT=35617 DPT=5353 LEN=52 ```