update everything to current config
This commit is contained in:
14
etc/interception/dual-function-keys/keybaord.yaml
Normal file
14
etc/interception/dual-function-keys/keybaord.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
# lives under /etc/interception/dual-function-keys/keyboard.yaml
|
||||
|
||||
|
||||
TIMING:
|
||||
TAP_MILLISEC: 200
|
||||
DOUBLE_TAP_MILLISEC: 100
|
||||
|
||||
MAPPINGS:
|
||||
- KEY: KEY_CAPSLOCK
|
||||
TAP: KEY_ESC
|
||||
HOLD: KEY_RIGHTMETA
|
||||
- KEY: KEY_ESC
|
||||
TAP: KEY_CAPSLOCK
|
||||
HOLD: KEY_CAPSLOCK
|
9
etc/interception/udevmon.yaml
Normal file
9
etc/interception/udevmon.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
# lives under /etc/interception/udevmon.yaml
|
||||
#
|
||||
# Keyboard configuration. Important parts are `NAME:` and `EV_KEY`. Get the name of the devices you want this to apply to by using the command `evtest`, you should see the name of your keyboard somewhere, type the number and follow the instructions.
|
||||
|
||||
- JOB: "intercept -g $DEVNODE | dual-function-keys -c /etc/interception/dual-function-keys/keyboard.yaml | uinput -d $DEVNODE"
|
||||
DEVICE:
|
||||
NAME: .*[Kk]eyboard.*
|
||||
EVENTS:
|
||||
EV_KEY: [KEY_CAPSLOCK, KEY_ENTER, KEY_LEFTSHIFT, KEY_RIGHTSHIFT, KEY_LEFTCTRL, KEY_RIGHTCTRL, KEY_TAB]
|
Reference in New Issue
Block a user