summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-06 19:33:33 -0500
committerGitHub <noreply@github.com>2017-02-06 19:33:33 -0500
commit198a2929ed021eee3a909914fa520ab5b1a357a9 (patch)
tree439e2949b8daa735bc607f0ddcfd691e0b6818be
parentb5159c964a6cd2997bf49951e0e99ed4d3d38f1e (diff)
parentf46c2b3ca07c83e13bea6fc33a3c95fed4a9ece2 (diff)
Merge pull request #1059 from qmk/hf/algr_t
Introduces ALGR_T for dual-function AltGr
-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 4853655f95..91324be35d 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