summaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2018-03-15 13:23:33 +1100
committerJack Humbert <jack.humb@gmail.com>2018-03-16 16:37:44 -0400
commita2e12faa198961ee865230dcba679061889cdb96 (patch)
tree959a55e87f34d12441702b72af25543d9ae7636e /tmk_core/common
parent729e99961cb0df9ea172e4dd159a9889e9988ab4 (diff)
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h
index a1e0bc9a47..e7e09e0988 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