diff options
author | fauxpark <fauxpark@gmail.com> | 2018-03-15 13:23:33 +1100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-16 16:37:44 -0400 |
commit | a2e12faa198961ee865230dcba679061889cdb96 (patch) | |
tree | 959a55e87f34d12441702b72af25543d9ae7636e /tmk_core/common | |
parent | 729e99961cb0df9ea172e4dd159a9889e9988ab4 (diff) | |
download | qmk_firmware-a2e12faa198961ee865230dcba679061889cdb96.tar.gz |
Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc.
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/keycode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h index a1e0bc9a4..e7e09e098 100644 --- a/tmk_core/common/keycode.h +++ b/tmk_core/common/keycode.h @@ -167,6 +167,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Transparent */ #define KC_TRANSPARENT 1 #define KC_TRNS KC_TRANSPARENT +/* GUI key aliases */ +#define KC_LCMD KC_LGUI +#define KC_LWIN KC_LGUI +#define KC_RCMD KC_RGUI +#define KC_RWIN KC_RGUI |