Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
QMK Bot 2025-01-08 16:51:30 +00:00
commit e28799d790

View File

@ -16,7 +16,10 @@
bool process_underglow(uint16_t keycode, keyrecord_t *record) { bool process_underglow(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) { if (record->event.pressed) {
uint8_t shifted = get_mods() & MOD_MASK_SHIFT; #if defined(RGBLIGHT_ENABLE) || (defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_DISABLE_SHARED_KEYCODES))
const uint8_t shifted = get_mods() & MOD_MASK_SHIFT;
#endif
switch (keycode) { switch (keycode) {
case QK_UNDERGLOW_TOGGLE: case QK_UNDERGLOW_TOGGLE:
#if defined(RGBLIGHT_ENABLE) #if defined(RGBLIGHT_ENABLE)