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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 87 additions and 87 deletions

View file

@ -189,7 +189,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
}
return false;
case RGB_MODE_FORWARD ... RGB_MODE_GRADIENT: // For any of the RGB codes (see quantum_keycodes.h, L400 for reference)
case RGB_MOD ... RGB_M_G: // For any of the RGB codes (see quantum_keycodes.h, L400 for reference)
if (record->event.pressed) { //This disables layer indication, as it's assumed that if you're changing this ... you want that disabled
if (user_config.rgb_layer_change) { // only if this is enabled
user_config.rgb_layer_change = false; // disable it, and