diff options
author | stanrc85 <47038504+stanrc85@users.noreply.github.com> | 2020-05-15 13:59:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 18:59:25 +0100 |
commit | 9b716b7adac11652dbd18dbcd6207bfd69cbd3d6 (patch) | |
tree | 21c2f6f36323b8af5903411a58d3240b044d01d6 /users | |
parent | b591c0c24a93b41b00168d169d71d4ac14f1491d (diff) | |
download | qmk_firmware-9b716b7adac11652dbd18dbcd6207bfd69cbd3d6.tar.gz |
stanrc85 userspace and keymap updates (#9103)
* Update flash command in userspace
* Switch to BackspaceFN on split spacebar
Diffstat (limited to 'users')
-rw-r--r-- | users/stanrc85/stanrc85.c | 6 | ||||
-rw-r--r-- | users/stanrc85/stanrc85.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/users/stanrc85/stanrc85.c b/users/stanrc85/stanrc85.c index 6ea0e33bc..c1aaad1a1 100644 --- a/users/stanrc85/stanrc85.c +++ b/users/stanrc85/stanrc85.c @@ -56,12 +56,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (!record->event.pressed) { uint8_t mods = get_mods(); clear_mods(); - send_string_with_delay_P(PSTR("qmk compile -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way if (mods & MOD_MASK_SHIFT) { - send_string(SS_LGUI()); - send_string("qmk toolbox\n"); + send_string_with_delay_P(PSTR("qmk flash -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way reset_keyboard(); } + else + send_string_with_delay_P(PSTR("qmk compile -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way set_mods(mods); } break; diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h index ceb7167e1..0007e0898 100644 --- a/users/stanrc85/stanrc85.h +++ b/users/stanrc85/stanrc85.h @@ -22,6 +22,7 @@ enum my_layers { #define CA_SCLN LCA(KC_SCLN) #define KC_CTLE LCTL_T(KC_ESC) #define LT_SPCF LT(_FN1_60, KC_SPC) +#define LT_BPCF LT(_FN1_60, KC_BSPC) #define TD_TESC TD(TD_ESC) #define TD_TWIN TD(TD_WIN) #define TD_TCTL TD(TD_RCTL) |