Change all RGB mode keycodes to short aliases (#23691)

This commit is contained in:
Ryan
2024-05-12 10:05:11 +10:00
committed by GitHub
parent 66eb5d0a90
commit f9f67d4cb3
42 changed files with 87 additions and 87 deletions

View File

@@ -405,7 +405,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record)
{
if (record->event.pressed) {
switch(keycode) {
case RGB_MODE_FORWARD:
case RGB_MOD:
if (rgb_ring.state == RING_STATE_INIT) {
// in testing mode, do nothing
return false;
@@ -423,7 +423,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record)
}
}
break;
case RGB_MODE_REVERSE:
case RGB_RMOD:
if (rgb_ring.state == RING_STATE_INIT) {
// in testing mode, do nothing
return false;