diff options
author | Joe Wasson <joe@talljoe.com> | 2018-09-17 09:23:43 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-17 15:04:22 -0700 |
commit | a6d1db2c275f2e33e23135a6e410dbc8d19720a2 (patch) | |
tree | 647632d1df64f5e7a1f083caad6fc0da77892f7d /quantum/quantum_keycodes.h | |
parent | 244e1c5a57eecd349c7d88e1af42d1b3467aeafe (diff) | |
download | qmk_firmware-a6d1db2c275f2e33e23135a6e410dbc8d19720a2.tar.gz qmk_firmware-a6d1db2c275f2e33e23135a6e410dbc8d19720a2.zip |
Create AG_TOGG code to toggle Alt/Gui swap.
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 3b8795496..050d2d275 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
@@ -116,6 +116,7 @@ enum quantum_keycodes { | |||
116 | MAGIC_UNHOST_NKRO, | 116 | MAGIC_UNHOST_NKRO, |
117 | MAGIC_UNSWAP_ALT_GUI, | 117 | MAGIC_UNSWAP_ALT_GUI, |
118 | MAGIC_TOGGLE_NKRO, | 118 | MAGIC_TOGGLE_NKRO, |
119 | MAGIC_TOGGLE_ALT_GUI, | ||
119 | GRAVE_ESC, | 120 | GRAVE_ESC, |
120 | 121 | ||
121 | // Leader key | 122 | // Leader key |
@@ -590,6 +591,7 @@ enum quantum_keycodes { | |||
590 | 591 | ||
591 | #define AG_SWAP MAGIC_SWAP_ALT_GUI | 592 | #define AG_SWAP MAGIC_SWAP_ALT_GUI |
592 | #define AG_NORM MAGIC_UNSWAP_ALT_GUI | 593 | #define AG_NORM MAGIC_UNSWAP_ALT_GUI |
594 | #define AG_TOGG MAGIC_TOGGLE_ALT_GUI | ||
593 | 595 | ||
594 | // GOTO layer - 16 layers max | 596 | // GOTO layer - 16 layers max |
595 | // when: | 597 | // when: |