aboutsummaryrefslogtreecommitdiffstats
path: root/users/stanrc85
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2019-11-28 01:55:29 -0500
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2019-11-27 22:55:29 -0800
commit5c41fa606202f4750a20083bc2b7ad04d8ff8ae2 (patch)
treea31ccf74ce5768753e3acba22cabcd51d62a311c /users/stanrc85
parent99a58aa2b8d1e03fe5caa63c64445af6bd64f0b4 (diff)
downloadfirmware-5c41fa606202f4750a20083bc2b7ad04d8ff8ae2.tar.gz
firmware-5c41fa606202f4750a20083bc2b7ad04d8ff8ae2.tar.bz2
firmware-5c41fa606202f4750a20083bc2b7ad04d8ff8ae2.zip
[Keymap] Userspace updates (#7500)
* Convert macro to use new QMK CLI and other cleanup * use \n instead of ss enter
Diffstat (limited to 'users/stanrc85')
-rw-r--r--users/stanrc85/stanrc85.c21
1 files changed, 4 insertions, 17 deletions
diff --git a/users/stanrc85/stanrc85.c b/users/stanrc85/stanrc85.c
index e3da6d646..6ea0e33bc 100644
--- a/users/stanrc85/stanrc85.c
+++ b/users/stanrc85/stanrc85.c
@@ -56,26 +56,13 @@ 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("make " QMK_KEYBOARD ":" QMK_KEYMAP), 10);
+ send_string_with_delay_P(PSTR("qmk compile -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
if (mods & MOD_MASK_SHIFT) {
- //RESET board for flashing if SHIFT held or tapped with KC_MAKE
- #if defined(__arm__)
- send_string_with_delay_P(PSTR(":dfu-util"), 10);
- #elif defined(BOOTLOADER_DFU)
- send_string_with_delay_P(PSTR(":dfu"), 10);
- #elif defined(BOOTLOADER_HALFKAY)
- send_string_with_delay_P(PSTR(":teensy"), 10);
- #elif defined(BOOTLOADER_CATERINA)
- send_string_with_delay_P(PSTR(":avrdude"), 10);
- #endif // bootloader options
- send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);
+ send_string(SS_LGUI());
+ send_string("qmk toolbox\n");
reset_keyboard();
}
- if (mods & MOD_MASK_CTRL) {
- send_string_with_delay_P(PSTR(" -j8 --output-sync"), 10);
- }
- send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);
- set_mods(mods);
+ set_mods(mods);
}
break;
case KC_RDP: //Opens Windows RDP