summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_backlight.c')
-rw-r--r--quantum/process_keycode/process_backlight.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/quantum/process_keycode/process_backlight.c b/quantum/process_keycode/process_backlight.c
index 8b70339a55..c1596ec07d 100644
--- a/quantum/process_keycode/process_backlight.c
+++ b/quantum/process_keycode/process_backlight.c
@@ -26,45 +26,45 @@ bool process_backlight(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
switch (keycode) {
#ifdef LED_MATRIX_ENABLE
- case BL_ON:
+ case QK_BACKLIGHT_ON:
led_matrix_enable();
return false;
- case BL_OFF:
+ case QK_BACKLIGHT_OFF:
led_matrix_disable();
return false;
- case BL_DEC:
+ case QK_BACKLIGHT_DOWN:
led_matrix_decrease_val();
return false;
- case BL_INC:
+ case QK_BACKLIGHT_UP:
led_matrix_increase_val();
return false;
- case BL_TOGG:
+ case QK_BACKLIGHT_TOGGLE:
led_matrix_toggle();
return false;
- case BL_STEP:
+ case QK_BACKLIGHT_STEP:
led_matrix_step();
return false;
#else
- case BL_ON:
+ case QK_BACKLIGHT_ON:
backlight_level(BACKLIGHT_LEVELS);
return false;
- case BL_OFF:
+ case QK_BACKLIGHT_OFF:
backlight_level(0);
return false;
- case BL_DEC:
+ case QK_BACKLIGHT_DOWN:
backlight_decrease();
return false;
- case BL_INC:
+ case QK_BACKLIGHT_UP:
backlight_increase();
return false;
- case BL_TOGG:
+ case QK_BACKLIGHT_TOGGLE:
backlight_toggle();
return false;
- case BL_STEP:
+ case QK_BACKLIGHT_STEP:
backlight_step();
return false;
# ifdef BACKLIGHT_BREATHING
- case BL_BRTG:
+ case QK_BACKLIGHT_TOGGLE_BREATHING:
backlight_toggle_breathing();
return false;
# endif