10 lines
582 B
YAML
10 lines
582 B
YAML
|
# 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]
|