summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2018-03-15 03:23:33 +0100
committerJack Humbert <jack.humb@gmail.com>2018-03-16 21:37:44 +0100
commita2e12faa198961ee865230dcba679061889cdb96 (patch)
tree959a55e87f34d12441702b72af25543d9ae7636e /tmk_core
parent729e99961cb0df9ea172e4dd159a9889e9988ab4 (diff)
downloadqmk_firmware-a2e12faa198961ee865230dcba679061889cdb96.tar.gz
qmk_firmware-a2e12faa198961ee865230dcba679061889cdb96.tar.xz
Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc.
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/keycode.h5
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