diff options
Diffstat (limited to '.local/share')
-rw-r--r-- | .local/share/noteworthy/evremap/etc/conf.d/evremap.toml | 19 | ||||
-rwxr-xr-x | .local/share/noteworthy/evremap/etc/init.d/evremap | 6 |
2 files changed, 25 insertions, 0 deletions
diff --git a/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml new file mode 100644 index 0000000..82407de --- /dev/null +++ b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml @@ -0,0 +1,19 @@ +device_name = "AT Translated Set 2 keyboard" + +# capslock+escape combo +[[dual_role]] +input = "KEY_CAPSLOCK" +hold = ["KEY_LEFTMETA"] +tap = ["KEY_ESC"] + +# Left shift + "(" combo +[[dual_role]] +input = "KEY_LEFTSHIFT" +hold = ["KEY_LEFTSHIFT"] +tap = ["KEY_KPLEFTPAREN"] + +# Right shift + ")" combo +[[dual_role]] +input = "KEY_RIGHTSHIFT" +hold = ["KEY_RIGHTSHIFT"] +tap = ["KEY_KPRIGHTPAREN"] diff --git a/.local/share/noteworthy/evremap/etc/init.d/evremap b/.local/share/noteworthy/evremap/etc/init.d/evremap new file mode 100755 index 0000000..2a2f713 --- /dev/null +++ b/.local/share/noteworthy/evremap/etc/init.d/evremap @@ -0,0 +1,6 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon +command="/usr/local/bin/evremap" +command_args="remap /etc/conf.d/evremap.toml" + |