diff options
| -rw-r--r-- | docs/feature_macros.md | 1 | ||||
| -rw-r--r-- | quantum/quantum.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md index e77d7afea..006fa04bc 100644 --- a/docs/feature_macros.md +++ b/docs/feature_macros.md | |||
| @@ -97,6 +97,7 @@ There's also a couple of mod shortcuts you can use: | |||
| 97 | * `SS_LGUI(string)` | 97 | * `SS_LGUI(string)` |
| 98 | * `SS_LALT(string)` | 98 | * `SS_LALT(string)` |
| 99 | * `SS_LSFT(string)` | 99 | * `SS_LSFT(string)` |
| 100 | * `SS_RALT(string)` | ||
| 100 | 101 | ||
| 101 | These press the respective modifier, send the supplied string and then release the modifier. | 102 | These press the respective modifier, send the supplied string and then release the modifier. |
| 102 | They can be used like this: | 103 | They can be used like this: |
diff --git a/quantum/quantum.h b/quantum/quantum.h index b4c9e0b89..e6d76015b 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
| @@ -124,6 +124,7 @@ extern uint32_t default_layer_state; | |||
| 124 | #define SS_LGUI(string) SS_DOWN(X_LGUI) string SS_UP(X_LGUI) | 124 | #define SS_LGUI(string) SS_DOWN(X_LGUI) string SS_UP(X_LGUI) |
| 125 | #define SS_LALT(string) SS_DOWN(X_LALT) string SS_UP(X_LALT) | 125 | #define SS_LALT(string) SS_DOWN(X_LALT) string SS_UP(X_LALT) |
| 126 | #define SS_LSFT(string) SS_DOWN(X_LSHIFT) string SS_UP(X_LSHIFT) | 126 | #define SS_LSFT(string) SS_DOWN(X_LSHIFT) string SS_UP(X_LSHIFT) |
| 127 | #define SS_RALT(string) SS_DOWN(X_RALT) string SS_UP(X_RALT) | ||
| 127 | 128 | ||
| 128 | #define SEND_STRING(str) send_string_P(PSTR(str)) | 129 | #define SEND_STRING(str) send_string_P(PSTR(str)) |
| 129 | extern const bool ascii_to_shift_lut[0x80]; | 130 | extern const bool ascii_to_shift_lut[0x80]; |
