keys: remove keyboard configuration from Lua code

Everything is now handled by inputplug.
This commit is contained in:
Vincent Bernat 2014-06-10 20:59:47 +02:00
parent 3e9a3f8662
commit a6506a223f
4 changed files with 35 additions and 20 deletions

View file

@ -18,6 +18,9 @@ xkb() {
printf "$use: [%3d] $name\n" $device
case "$use,$(uname -n),$name" in
XISlaveKeyboard,zoro,"AT Translated Set 2 keyboard")
xkb x1
;;
XISlaveKeyboard,guybrush,"AT Translated Set 2 keyboard")
xkb norwin
;;
@ -35,6 +38,10 @@ case "$use,$(uname -n),$name" in
xinput set-prop $device 'Evdev Wheel Emulation Button' 2
xinput set-prop $device 'Evdev Wheel Emulation Axes' 6 7 4 5
;;
XISlavePointer,zoro,"SynPS/2 Synaptics TouchPad")
xinput set-prop $device 'Synaptics Soft Button Areas' 3656 5112 0 2200 2928 3656 0 2200
xinput set-prop $device 'Synaptics Area' 0 0 2200 0
;;
XISlavePointer,guybrush,"SynPS/2 Synaptics TouchPad")
xinput set-prop $device 'Synaptics Off' 1
;;