diff options
author | Wilba6582 <Jason.S.Williams@gmail.com> | 2019-03-30 14:24:13 +1100 |
---|---|---|
committer | Wilba6582 <Jason.S.Williams@gmail.com> | 2019-03-30 14:24:13 +1100 |
commit | d15bb05c935e378f2e1e912a46c3114697dd00e4 (patch) | |
tree | 5d3fcd5cde0cad72f5e9cbf5fc8919ed042418d8 /quantum/quantum.h | |
parent | 92c19dae8cfa1bbeeaa447353ac4d7a96e42b330 (diff) | |
download | qmk_firmware-d15bb05c935e378f2e1e912a46c3114697dd00e4.tar.gz |
Added SS_TAP_CODE, SS_DOWN_CODE, SS_UP_CODE
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index d2c5862f8..e1e20a760 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -191,6 +191,10 @@ extern uint32_t default_layer_state; #define ADD_SLASH_X(y) STRINGIZE(\x ## y) #define SYMBOL_STR(x) ADD_SLASH_X(x) +#define SS_TAP_CODE 1 +#define SS_DOWN_CODE 2 +#define SS_UP_CODE 3 + #define SS_TAP(keycode) "\1" SYMBOL_STR(keycode) #define SS_DOWN(keycode) "\2" SYMBOL_STR(keycode) #define SS_UP(keycode) "\3" SYMBOL_STR(keycode) |