make evremap DRYer

This commit is contained in:
Schrottkatze 2023-11-14 13:43:01 +01:00
commit 995714ced3
6 changed files with 29 additions and 51 deletions

View file

@ -0,0 +1,18 @@
device_name = "Apple Inc. Apple Internal Keyboard / Trackpad"
[[remap]]
input = [ "KEY_RIGHTMETA" ]
output = [ "KEY_SPACE" ]
[[remap]]
input = [ "KEY_Y" ]
output = [ "KEY_Z" ]
[[remap]]
input = [ "KEY_Z" ]
output = [ "KEY_Y" ]
[[dual_role]]
input = "KEY_CAPSLOCK"
hold = ["KEY_LEFTCTRL"]
tap = ["KEY_ESC"]