diff options
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 d0b2bedb1..c7fce9a0f 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
| @@ -187,6 +187,10 @@ extern uint32_t default_layer_state; | |||
| 187 | #define ADD_SLASH_X(y) STRINGIZE(\x ## y) | 187 | #define ADD_SLASH_X(y) STRINGIZE(\x ## y) |
| 188 | #define SYMBOL_STR(x) ADD_SLASH_X(x) | 188 | #define SYMBOL_STR(x) ADD_SLASH_X(x) |
| 189 | 189 | ||
| 190 | #define SS_TAP_CODE 1 | ||
| 191 | #define SS_DOWN_CODE 2 | ||
| 192 | #define SS_UP_CODE 3 | ||
| 193 | |||
| 190 | #define SS_TAP(keycode) "\1" SYMBOL_STR(keycode) | 194 | #define SS_TAP(keycode) "\1" SYMBOL_STR(keycode) |
| 191 | #define SS_DOWN(keycode) "\2" SYMBOL_STR(keycode) | 195 | #define SS_DOWN(keycode) "\2" SYMBOL_STR(keycode) |
| 192 | #define SS_UP(keycode) "\3" SYMBOL_STR(keycode) | 196 | #define SS_UP(keycode) "\3" SYMBOL_STR(keycode) |
