]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
added SS_LSFT to featured macros
authorGilbert Consellado <gilbertconsellado@gmail.com>
Sat, 18 Nov 2017 13:45:27 +0000 (21:45 +0800)
committerJack Humbert <jack.humb@gmail.com>
Mon, 20 Nov 2017 17:25:42 +0000 (12:25 -0500)
docs/feature_macros.md
quantum/quantum.h

index 84b81303d95fa477f5b71f51f8bbf10968caf23f..92afe68c2eca63cdf8c7602c0cf50ccd4c4ff9f5 100644 (file)
@@ -96,6 +96,7 @@ There's also a couple of mod shortcuts you can use:
 * `SS_LCTRL(string)`
 * `SS_LGUI(string)`
 * `SS_LALT(string)`
+* `SS_LSFT(string)`
 
 These press the respective modifier, send the supplied string and then release the modifier.
 They can be used like this:
index 534819c818bf9df16b289d197572eded859d4c3f..056d372926ece5f2e1d2d05683fe441a4c46b2bb 100644 (file)
@@ -124,6 +124,7 @@ extern uint32_t default_layer_state;
 #define SS_LCTRL(string) SS_DOWN(X_LCTRL) string SS_UP(X_LCTRL)
 #define SS_LGUI(string) SS_DOWN(X_LGUI) string SS_UP(X_LGUI)
 #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 SEND_STRING(str) send_string_P(PSTR(str))
 extern const bool ascii_to_shift_lut[0x80];