aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
56 if (!record->event.pressed) { 56 if (!record->event.pressed) {
57 uint8_t mods = get_mods(); 57 uint8_t mods = get_mods();
58 clear_mods(); 58 clear_mods();
59 send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP), 10); 59 send_string_with_delay_P(PSTR("qmk compile -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
60 if (mods & MOD_MASK_SHIFT) { 60 if (mods & MOD_MASK_SHIFT) {
61 //RESET board for flashing if SHIFT held or tapped with KC_MAKE 61 send_string(SS_LGUI());
62 #if defined(__arm__) 62 send_string("qmk toolbox\n");
63 send_string_with_delay_P(PSTR(":dfu-util"), 10);
64 #elif defined(BOOTLOADER_DFU)
65 send_string_with_delay_P(PSTR(":dfu"), 10);
66 #elif defined(BOOTLOADER_HALFKAY)
67 send_string_with_delay_P(PSTR(":teensy"), 10);
68 #elif defined(BOOTLOADER_CATERINA)
69 send_string_with_delay_P(PSTR(":avrdude"), 10);
70 #endif // bootloader options
71 send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);
72 reset_keyboard(); 63 reset_keyboard();
73 } 64 }
74 if (mods & MOD_MASK_CTRL) { 65 set_mods(mods);
75 send_string_with_delay_P(PSTR(" -j8 --output-sync"), 10);
76 }
77 send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);
78 set_mods(mods);
79 } 66 }
80 break; 67 break;
81 case KC_RDP: //Opens Windows RDP 68 case KC_RDP: //Opens Windows RDP