summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpoirey <nicolas.poirey@gmail.com>2016-10-07 17:15:11 +0200
committernpoirey <nicolas.poirey@gmail.com>2016-10-07 17:21:38 +0200
commit1048a588c750e27ff0f900cd6aaf670e034086d0 (patch)
tree921c8478af84d5163e525c60698b84833ac471bd
parenta9df99b81c787862dc3fa11bd854fe39e704da81 (diff)
downloadqmk_firmware-1048a588c750e27ff0f900cd6aaf670e034086d0.tar.gz
qmk_firmware-1048a588c750e27ff0f900cd6aaf670e034086d0.zip
Add Altgr combination for non US layouts
-rw-r--r--quantum/keymap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h
index 98ddfd0c53..4b2192cb2e 100644
--- a/quantum/keymap.h
+++ b/quantum/keymap.h
@@ -191,6 +191,7 @@ enum quantum_keycodes {
#define HYPR(kc) (kc | QK_LCTL | QK_LSFT | QK_LALT | QK_LGUI)
#define MEH(kc) (kc | QK_LCTL | QK_LSFT | QK_LALT)
#define LCAG(kc) (kc | QK_LCTL | QK_LALT | QK_LGUI)
+#define ALTG(kc) (kc | QK_RCTL | QK_RALT)
#define MOD_HYPR 0xf
#define MOD_MEH 0x7