Skip to content

Commit

Permalink
added SS_LSFT to featured macros
Browse files Browse the repository at this point in the history
  • Loading branch information
zer09 authored and jackhumbert committed Nov 20, 2017
1 parent c6cdd54 commit 7ff9687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/feature_macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions quantum/quantum.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 7ff9687

Please sign in to comment.