diff options
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 46d404029..8316d1f06 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
@@ -360,9 +360,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
360 | if (!record->event.pressed) { | 360 | if (!record->event.pressed) { |
361 | #endif | 361 | #endif |
362 | rgblight_toggle(); | 362 | rgblight_toggle(); |
363 | #ifdef SPLIT_KEYBOARD | ||
364 | RGB_DIRTY = true; | ||
365 | #endif | ||
366 | } | 363 | } |
367 | return false; | 364 | return false; |
368 | case RGB_MODE_FORWARD: | 365 | case RGB_MODE_FORWARD: |
@@ -374,9 +371,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
374 | else { | 371 | else { |
375 | rgblight_step(); | 372 | rgblight_step(); |
376 | } | 373 | } |
377 | #ifdef SPLIT_KEYBOARD | ||
378 | RGB_DIRTY = true; | ||
379 | #endif | ||
380 | } | 374 | } |
381 | return false; | 375 | return false; |
382 | case RGB_MODE_REVERSE: | 376 | case RGB_MODE_REVERSE: |
@@ -388,9 +382,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
388 | else { | 382 | else { |
389 | rgblight_step_reverse(); | 383 | rgblight_step_reverse(); |
390 | } | 384 | } |
391 | #ifdef SPLIT_KEYBOARD | ||
392 | RGB_DIRTY = true; | ||
393 | #endif | ||
394 | } | 385 | } |
395 | return false; | 386 | return false; |
396 | case RGB_HUI: | 387 | case RGB_HUI: |
@@ -401,9 +392,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
401 | if (!record->event.pressed) { | 392 | if (!record->event.pressed) { |
402 | #endif | 393 | #endif |
403 | rgblight_increase_hue(); | 394 | rgblight_increase_hue(); |
404 | #ifdef SPLIT_KEYBOARD | ||
405 | RGB_DIRTY = true; | ||
406 | #endif | ||
407 | } | 395 | } |
408 | return false; | 396 | return false; |
409 | case RGB_HUD: | 397 | case RGB_HUD: |
@@ -414,9 +402,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
414 | if (!record->event.pressed) { | 402 | if (!record->event.pressed) { |
415 | #endif | 403 | #endif |
416 | rgblight_decrease_hue(); | 404 | rgblight_decrease_hue(); |
417 | #ifdef SPLIT_KEYBOARD | ||
418 | RGB_DIRTY = true; | ||
419 | #endif | ||
420 | } | 405 | } |
421 | return false; | 406 | return false; |
422 | case RGB_SAI: | 407 | case RGB_SAI: |
@@ -427,9 +412,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
427 | if (!record->event.pressed) { | 412 | if (!record->event.pressed) { |
428 | #endif | 413 | #endif |
429 | rgblight_increase_sat(); | 414 | rgblight_increase_sat(); |
430 | #ifdef SPLIT_KEYBOARD | ||
431 | RGB_DIRTY = true; | ||
432 | #endif | ||
433 | } | 415 | } |
434 | return false; | 416 | return false; |
435 | case RGB_SAD: | 417 | case RGB_SAD: |
@@ -440,9 +422,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
440 | if (!record->event.pressed) { | 422 | if (!record->event.pressed) { |
441 | #endif | 423 | #endif |
442 | rgblight_decrease_sat(); | 424 | rgblight_decrease_sat(); |
443 | #ifdef SPLIT_KEYBOARD | ||
444 | RGB_DIRTY = true; | ||
445 | #endif | ||
446 | } | 425 | } |
447 | return false; | 426 | return false; |
448 | case RGB_VAI: | 427 | case RGB_VAI: |
@@ -453,9 +432,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
453 | if (!record->event.pressed) { | 432 | if (!record->event.pressed) { |
454 | #endif | 433 | #endif |
455 | rgblight_increase_val(); | 434 | rgblight_increase_val(); |
456 | #ifdef SPLIT_KEYBOARD | ||
457 | RGB_DIRTY = true; | ||
458 | #endif | ||
459 | } | 435 | } |
460 | return false; | 436 | return false; |
461 | case RGB_VAD: | 437 | case RGB_VAD: |
@@ -466,9 +442,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
466 | if (!record->event.pressed) { | 442 | if (!record->event.pressed) { |
467 | #endif | 443 | #endif |
468 | rgblight_decrease_val(); | 444 | rgblight_decrease_val(); |
469 | #ifdef SPLIT_KEYBOARD | ||
470 | RGB_DIRTY = true; | ||
471 | #endif | ||
472 | } | 445 | } |
473 | return false; | 446 | return false; |
474 | case RGB_SPI: | 447 | case RGB_SPI: |
@@ -484,9 +457,6 @@ bool process_record_quantum(keyrecord_t *record) { | |||
484 | case RGB_MODE_PLAIN: | 457 | case RGB_MODE_PLAIN: |
485 | if (record->event.pressed) { | 458 | if (record->event.pressed) { |
486 | rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT); | 459 | rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT); |
487 | #ifdef SPLIT_KEYBOARD | ||
488 | RGB_DIRTY = true; | ||
489 | #endif | ||
490 | } | 460 | } |
491 | return false; | 461 | return false; |
492 | case RGB_MODE_BREATHE: | 462 | case RGB_MODE_BREATHE: |