fix(tablet mode): make tablet mode grab touchpad again

This commit is contained in:
matt1432 2023-10-12 14:06:36 -04:00
parent 47fba6cb75
commit 838171060d
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,7 @@ tablet() {
evtest --grab "/dev/input/by-path/platform-AMDI0010:02-event-mouse" &
evtest --grab "/dev/input/by-path/platform-thinkpad_acpi-event" &
evtest --grab "/dev/video-bus" &
evtest --grab "/dev/touchpad" &
}
laptop() {

View file

@ -14,6 +14,9 @@
udev.extraRules = ''
# give permanent path to keyboard XF86* binds
SUBSYSTEMS=="input", ATTRS{id/product}=="0006", ATTRS{id/vendor}=="0000", SYMLINK += "video-bus"
# give permanent path to touchpad
SUBSYSTEMS=="input", ATTRS{id/product}=="01e0", ATTRS{id/vendor}=="27c6", ATTRS{name}=="GXTP5140:00 27C6:01E0 Touchpad", SYMLINK += "touchpad"
'';
fwupd.enable = true;