diff options
author | fauxpark <fauxpark@gmail.com> | 2019-11-26 18:16:58 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-11-25 23:16:58 -0800 |
commit | 5a6737a778cfa828e4fdb5d382a84a41e5210d8e (patch) | |
tree | 0c746428a46df925b30675990aca209f59db2d9d /docs/feature_userspace.md | |
parent | a2cedf4555ab417d849cbacf9562fd92407d5d71 (diff) | |
download | qmk_firmware-5a6737a778cfa828e4fdb5d382a84a41e5210d8e.tar.gz |
Send string keycode tweaks (#7471)
Diffstat (limited to 'docs/feature_userspace.md')
-rw-r--r-- | docs/feature_userspace.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/feature_userspace.md b/docs/feature_userspace.md index e162d423c..a2657c1f6 100644 --- a/docs/feature_userspace.md +++ b/docs/feature_userspace.md @@ -208,15 +208,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { clear_mods(); clear_oneshot_mods(); SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP); #ifndef FLASH_BOOTLOADER - if ( (temp_mod | temp_osm) & MOD_MASK_SHIFT ) + if ((temp_mod | temp_osm) & MOD_MASK_SHIFT) #endif - { // + { SEND_STRING(":flash"); } - if ( (temp_mod | temp_osm) & MOD_MASK_CTRL) { - SEND_STRING(" -j8 --output-sync"); + if ((temp_mod | temp_osm) & MOD_MASK_CTRL) { + SEND_STRING(" -j8 --output-sync"); } - SEND_STRING(SS_TAP(X_ENTER)); + tap_code(KC_ENT); set_mods(temp_mod); } break; |