summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2018-12-12 19:17:19 +0100
committerDrashna Jaelre <drashna@live.com>2018-12-12 19:17:19 +0100
commit28fbf84cc5ff52f545011ea4198a6cc6d054f896 (patch)
treecaf444ec1231e5f0852eca8d07e2f8595a153002 /quantum/quantum.h
parent8b6cdd17886db9847ff91be9c10a1788a7c74a6a (diff)
downloadqmk_firmware-28fbf84cc5ff52f545011ea4198a6cc6d054f896.tar.gz
qmk_firmware-28fbf84cc5ff52f545011ea4198a6cc6d054f896.tar.xz
Add standard definitions for ALGR and KC_ALGR (#4389)
* Add standard ALGR defition, remove (re)definitions from language files * Use ALGR(kc) consistently in ALTGR(kc) aliases * Non-Nordic keymaps should not use NO_ALGR * Add standard KC_ALGR definition * Update docs with ALGR and KC_ALGR * Update SS_ALGR and ALGR_T aliases
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r--quantum/quantum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 41c7d8351..5920e4b13 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -197,6 +197,7 @@ extern uint32_t default_layer_state;
#define SS_LALT(string) SS_DOWN(X_LALT) string SS_UP(X_LALT)
#define SS_LSFT(string) SS_DOWN(X_LSHIFT) string SS_UP(X_LSHIFT)
#define SS_RALT(string) SS_DOWN(X_RALT) string SS_UP(X_RALT)
+#define SS_ALGR(string) SS_RALT(string)
#define SEND_STRING(str) send_string_P(PSTR(str))
extern const bool ascii_to_shift_lut[0x80];