diff options
| author | Maxime Daffis <maxime.daffis@gmail.com> | 2024-07-02 14:22:37 +0200 |
|---|---|---|
| committer | Maxime Daffis <maxime.daffis@gmail.com> | 2024-08-05 13:00:32 +0200 |
| commit | 636d1a09d8a4fc2306aee0c8a33dac21bd9e201a (patch) | |
| tree | bdf0349b0a7937041fa601db3e997d27e21f5de4 /tests | |
| parent | f7142b8024d6b70c66fd646e1d099d3aa5bfec49 (diff) | |
(feature) Add swapLeftCtrlAndFn
Use this and never find yourself again hitting fn because of muscle
memory! (you can even physically swap the keycaps, at least on M series)
Keycodes have been pulled from https://hidutil-generator.netlify.app/
and the hex value has been converted to a base 10 int.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/system-keyboard-mapping.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/system-keyboard-mapping.nix b/tests/system-keyboard-mapping.nix index b75efbd..654ca0c 100644 --- a/tests/system-keyboard-mapping.nix +++ b/tests/system-keyboard-mapping.nix @@ -6,6 +6,7 @@ system.keyboard.remapCapsLockToEscape = true; system.keyboard.nonUS.remapTilde = true; system.keyboard.swapLeftCommandAndLeftAlt = true; + system.keyboard.swapLeftCtrlAndFn = true; test = '' echo checking keyboard mappings in /activate >&2 @@ -17,5 +18,7 @@ grep "\"HIDKeyboardModifierMappingDst\":30064771296" ${config.out}/activate grep "\"HIDKeyboardModifierMappingDst\":30064771298" ${config.out}/activate grep "\"HIDKeyboardModifierMappingDst\":30064771299" ${config.out}/activate + grep "\"HIDKeyboardModifierMappingDst\":30064771296" ${config.out}/activate + grep "\"HIDKeyboardModifierMappingDst\":1095216660483" ${config.out}/activate ''; } |
