summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorErez Zukerman <bulk@ezuk.org>2017-02-01 03:31:05 +0100
committerErez Zukerman <bulk@ezuk.org>2017-02-01 03:31:05 +0100
commitf46c2b3ca07c83e13bea6fc33a3c95fed4a9ece2 (patch)
tree100f66ffa6c32db41a54d0e7ae59c2af1f315eac /quantum/quantum_keycodes.h
parent748316fc43e645baa12464c23f5ce703e92bf3e3 (diff)
downloadqmk_firmware-f46c2b3ca07c83e13bea6fc33a3c95fed4a9ece2.tar.gz
qmk_firmware-f46c2b3ca07c83e13bea6fc33a3c95fed4a9ece2.tar.xz
Introduces ALGR_T for dual-function AltGr
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 4853655f9..91324be35 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -290,6 +290,7 @@ enum quantum_keycodes {
#define CTL_T(kc) MT(MOD_LCTL, kc)
#define SFT_T(kc) MT(MOD_LSFT, kc)
#define ALT_T(kc) MT(MOD_LALT, kc)
+#define ALGR_T(kc) MT(MOD_RALT, kc) // dual-function AltGR
#define GUI_T(kc) MT(MOD_LGUI, kc)
#define C_S_T(kc) MT((MOD_LCTL | MOD_LSFT), kc) // Control + Shift e.g. for gnome-terminal
#define MEH_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT), kc) // Meh is a less hyper version of the Hyper key -- doesn't include Win or Cmd, so just alt+shift+ctrl