summaryrefslogtreecommitdiffstats
path: root/docs/feature_userspace.md
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-11-26 18:16:58 +1100
committerDrashna Jaelre <drashna@live.com>2019-11-25 23:16:58 -0800
commit5a6737a778cfa828e4fdb5d382a84a41e5210d8e (patch)
tree0c746428a46df925b30675990aca209f59db2d9d /docs/feature_userspace.md
parenta2cedf4555ab417d849cbacf9562fd92407d5d71 (diff)
Send string keycode tweaks (#7471)
Diffstat (limited to 'docs/feature_userspace.md')
-rw-r--r--docs/feature_userspace.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/feature_userspace.md b/docs/feature_userspace.md
index e162d423ce..a2657c1f60 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;