diff options
| -rw-r--r-- | users/drashna/process_records.c | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/users/drashna/process_records.c b/users/drashna/process_records.c index a5487b585..770219917 100644 --- a/users/drashna/process_records.c +++ b/users/drashna/process_records.c | |||
| @@ -39,22 +39,26 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 39 | clear_mods(); clear_oneshot_mods(); | 39 | clear_mods(); clear_oneshot_mods(); |
| 40 | send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP), TAP_CODE_DELAY); | 40 | send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP), TAP_CODE_DELAY); |
| 41 | #ifndef MAKE_BOOTLOADER | 41 | #ifndef MAKE_BOOTLOADER |
| 42 | if ( ( temp_mod | temp_osm ) & MOD_MASK_SHIFT ) | 42 | if ( ( temp_mod | temp_osm ) & MOD_MASK_SHIFT ) |
| 43 | #endif | ||
| 44 | { | ||
| 45 | #if defined(__arm__) | ||
| 46 | send_string_with_delay_P(PSTR(":dfu-util"), TAP_CODE_DELAY); | ||
| 47 | #elif defined(BOOTLOADER_DFU) | ||
| 48 | send_string_with_delay_P(PSTR(":dfu"), TAP_CODE_DELAY); | ||
| 49 | #elif defined(BOOTLOADER_HALFKAY) | ||
| 50 | send_string_with_delay_P(PSTR(":teensy"), TAP_CODE_DELAY); | ||
| 51 | #elif defined(BOOTLOADER_CATERINA) | ||
| 52 | send_string_with_delay_P(PSTR(":avrdude"), TAP_CODE_DELAY); | ||
| 53 | #endif // bootloader options | ||
| 54 | } | ||
| 55 | if ( ( temp_mod | temp_osm ) & MOD_MASK_CTRL) { send_string_with_delay_P(PSTR(" -j8 --output-sync"), TAP_CODE_DELAY); } | ||
| 56 | #ifdef RGB_MATRIX_SPLIT_RIGHT | ||
| 57 | send_string_with_delay_P(PSTR(" RGB_MATRIX_SPLIT_RIGHT=yes OLED_DRIVER_ENABLE=no"), TAP_CODE_DELAY); | ||
| 43 | #endif | 58 | #endif |
| 44 | { | ||
| 45 | #if defined(__arm__) | ||
| 46 | send_string_with_delay_P(PSTR(":dfu-util"), TAP_CODE_DELAY); | ||
| 47 | #elif defined(BOOTLOADER_DFU) | ||
| 48 | send_string_with_delay_P(PSTR(":dfu"), TAP_CODE_DELAY); | ||
| 49 | #elif defined(BOOTLOADER_HALFKAY) | ||
| 50 | send_string_with_delay_P(PSTR(":teensy"), TAP_CODE_DELAY); | ||
| 51 | #elif defined(BOOTLOADER_CATERINA) | ||
| 52 | send_string_with_delay_P(PSTR(":avrdude"), TAP_CODE_DELAY); | ||
| 53 | #endif // bootloader options | ||
| 54 | } | ||
| 55 | if ( ( temp_mod | temp_osm ) & MOD_MASK_CTRL) { send_string_with_delay_P(PSTR(" -j8 --output-sync"), TAP_CODE_DELAY); } | ||
| 56 | send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), TAP_CODE_DELAY); | 59 | send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), TAP_CODE_DELAY); |
| 57 | } | 60 | } |
| 61 | |||
| 58 | break; | 62 | break; |
| 59 | 63 | ||
| 60 | case VRSN: // Prints firmware version | 64 | case VRSN: // Prints firmware version |
