diff options
author | fauxpark <[email protected]> | 2019-11-26 18:16:58 +1100 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-11-25 23:16:58 -0800 |
commit | 5a6737a778cfa828e4fdb5d382a84a41e5210d8e (patch) | |
tree | 0c746428a46df925b30675990aca209f59db2d9d /docs/feature_leader_key.md | |
parent | a2cedf4555ab417d849cbacf9562fd92407d5d71 (diff) | |
download | qmk_firmware-5a6737a778cfa828e4fdb5d382a84a41e5210d8e.tar.gz qmk_firmware-5a6737a778cfa828e4fdb5d382a84a41e5210d8e.zip |
Send string keycode tweaks (#7471)
Diffstat (limited to 'docs/feature_leader_key.md')
-rw-r--r-- | docs/feature_leader_key.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_leader_key.md b/docs/feature_leader_key.md index 82cf789017..22370bf230 100644 --- a/docs/feature_leader_key.md +++ b/docs/feature_leader_key.md @@ -22,10 +22,10 @@ void matrix_scan_user(void) { SEND_STRING("QMK is awesome."); } SEQ_TWO_KEYS(KC_D, KC_D) { - SEND_STRING(SS_LCTRL("a")SS_LCTRL("c")); + SEND_STRING(SS_LCTL("a") SS_LCTL("c")); } SEQ_THREE_KEYS(KC_D, KC_D, KC_S) { - SEND_STRING("https://start.duckduckgo.com"SS_TAP(X_ENTER)); + SEND_STRING("https://start.duckduckgo.com\n"); } SEQ_TWO_KEYS(KC_A, KC_S) { register_code(KC_LGUI); @@ -115,11 +115,11 @@ void matrix_scan_user(void) { SEQ_ONE_KEY(KC_E) { // Anything you can do in a macro. - SEND_STRING(SS_LCTRL(SS_LSFT("t"))); + SEND_STRING(SS_LCTL(SS_LSFT("t"))); did_leader_succeed = true; } else SEQ_TWO_KEYS(KC_E, KC_D) { - SEND_STRING(SS_LGUI("r")"cmd"SS_TAP(KC_ENTER)SS_LCTRL("c")); + SEND_STRING(SS_LGUI("r") "cmd\n" SS_LCTL("c")); did_leader_succeed = true; } leader_end(); |