diff options
Diffstat (limited to 'users/drashna/drashna.c')
| -rw-r--r-- | users/drashna/drashna.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/users/drashna/drashna.c b/users/drashna/drashna.c index 170c320d3..73bd249e4 100644 --- a/users/drashna/drashna.c +++ b/users/drashna/drashna.c | |||
| @@ -224,19 +224,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 224 | xprintf("KL: row: %u, column: %u, pressed: %u\n", record->event.key.col, record->event.key.row, record->event.pressed); | 224 | xprintf("KL: row: %u, column: %u, pressed: %u\n", record->event.key.col, record->event.key.row, record->event.pressed); |
| 225 | #endif //CONSOLE_ENABLE | 225 | #endif //CONSOLE_ENABLE |
| 226 | 226 | ||
| 227 | // Run custom faux click code, but only if faux clicky is enabled | ||
| 228 | #ifdef AUDIO_ENABLE | ||
| 229 | if ( (faux_click_enabled && keycode != KC_FXCL) || (!faux_click_enabled && keycode == KC_FXCL) ) { | ||
| 230 | if (record->event.pressed) { | ||
| 231 | stop_all_notes(); | ||
| 232 | PLAY_SONG(fauxclicky_pressed); | ||
| 233 | } else { | ||
| 234 | stop_all_notes(); | ||
| 235 | PLAY_SONG(fauxclicky_released); | ||
| 236 | } | ||
| 237 | } | ||
| 238 | #endif //AUDIO_ENABLE | ||
| 239 | |||
| 240 | 227 | ||
| 241 | switch (keycode) { | 228 | switch (keycode) { |
| 242 | case KC_QWERTY: | 229 | case KC_QWERTY: |
| @@ -398,11 +385,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 398 | #endif // TAP_DANCE_ENABLE | 385 | #endif // TAP_DANCE_ENABLE |
| 399 | 386 | ||
| 400 | 387 | ||
| 401 | case KC_FXCL: | ||
| 402 | if (!record->event.pressed) { // Toggles the custom faux click code | ||
| 403 | faux_click_enabled = !faux_click_enabled; | ||
| 404 | } | ||
| 405 | return false; break; | ||
| 406 | case KC_RGB_T: // This allows me to use underglow as layer indication, or as normal | 388 | case KC_RGB_T: // This allows me to use underglow as layer indication, or as normal |
| 407 | #ifdef RGBLIGHT_ENABLE | 389 | #ifdef RGBLIGHT_ENABLE |
| 408 | if (record->event.pressed) { | 390 | if (record->event.pressed) { |
