1
0
Fork 0

stanrc85 userspace and keymap updates (#9103)

* Update flash command in userspace

* Switch to BackspaceFN on split spacebar
This commit is contained in:
stanrc85 2020-05-15 13:59:25 -04:00 committed by GitHub
parent b591c0c24a
commit 9b716b7ada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -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;