update everything to current config

This commit is contained in:
cho
2023-06-29 21:12:35 +07:00
parent f88cda4a67
commit ffa5843046
35 changed files with 3353 additions and 296 deletions

View 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

View 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]

View File

@ -0,0 +1,10 @@
[Unit]
Description=udevmon
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service
[Service]
ExecStart=/usr/bin/nice -n -20 udevmon -c /etc/interception/udevmon.yaml
[Install]
WantedBy=multi-user.target