Skip to content

Match all Surface (Pro/Laptop/Book) devices.

Blaž Hrastnik requested to merge archseer/libinput:master into master

Supersedes !507 (closed), we found a few more device name patterns that have to be covered (https://github.com/linux-surface/linux-surface/issues/67). I wasn't aware of the internal requirement for disable-while-typing to work.

The lid quirk is apparently only applicable to the Surface 3 so I've left it as is.

 └─ ./libinput debug-events --device /dev/input/event0
-event0   DEVICE_ADDED     Lid Switch                        seat0 default group1  cap:S
 event0   SWITCH_TOGGLE    +0.000s      switch lid state 1
 event0   SWITCH_TOGGLE    +0.998s      switch lid state 0
Edited by Blaž Hrastnik

Merge request reports