diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2025-03-31 12:16:47 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2025-03-31 12:16:47 -0400 |
commit | 4ccdb6fb1f53bc6c799ece8c2f03a0fede093acd (patch) | |
tree | 9d3a73a81547fff442263c28bdfd9d1e98895d5d /.local/share | |
parent | f4c4550e327d9090c82a735d39d104d0bedb602d (diff) |
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" + |