aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilbert Consellado <gilbertconsellado@gmail.com>2017-11-18 21:45:27 +0800
committerJack Humbert <jack.humb@gmail.com>2017-11-20 12:25:42 -0500
commit7ff96877d2a67fcfabbe2493e7c2a100f3b923da (patch)
treeb20f7b394509f7c446ada95288c1c10c6acfe892
parentc6cdd5422fb64e8854db9cbd3ba2ca2f3b7418e8 (diff)
downloadqmk_firmware-7ff96877d2a67fcfabbe2493e7c2a100f3b923da.tar.gz
qmk_firmware-7ff96877d2a67fcfabbe2493e7c2a100f3b923da.zip
added SS_LSFT to featured macros
-rw-r--r--docs/feature_macros.md1
-rw-r--r--quantum/quantum.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md
index 84b81303d..92afe68c2 100644
--- a/docs/feature_macros.md
+++ b/docs/feature_macros.md
@@ -96,6 +96,7 @@ There's also a couple of mod shortcuts you can use:
96* `SS_LCTRL(string)` 96* `SS_LCTRL(string)`
97* `SS_LGUI(string)` 97* `SS_LGUI(string)`
98* `SS_LALT(string)` 98* `SS_LALT(string)`
99* `SS_LSFT(string)`
99 100
100These press the respective modifier, send the supplied string and then release the modifier. 101These press the respective modifier, send the supplied string and then release the modifier.
101They can be used like this: 102They can be used like this:
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 534819c81..056d37292 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -124,6 +124,7 @@ extern uint32_t default_layer_state;
124#define SS_LCTRL(string) SS_DOWN(X_LCTRL) string SS_UP(X_LCTRL) 124#define SS_LCTRL(string) SS_DOWN(X_LCTRL) string SS_UP(X_LCTRL)
125#define SS_LGUI(string) SS_DOWN(X_LGUI) string SS_UP(X_LGUI) 125#define SS_LGUI(string) SS_DOWN(X_LGUI) string SS_UP(X_LGUI)
126#define SS_LALT(string) SS_DOWN(X_LALT) string SS_UP(X_LALT) 126#define SS_LALT(string) SS_DOWN(X_LALT) string SS_UP(X_LALT)
127#define SS_LSFT(string) SS_DOWN(X_LSHIFT) string SS_UP(X_LSHIFT)
127 128
128#define SEND_STRING(str) send_string_P(PSTR(str)) 129#define SEND_STRING(str) send_string_P(PSTR(str))
129extern const bool ascii_to_shift_lut[0x80]; 130extern const bool ascii_to_shift_lut[0x80];