Reworked backlight keycodes. (#18961)

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
Nick Brassel 2022-11-06 08:11:59 +11:00 committed by GitHub
parent 352beeac2f
commit 219afaba42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
707 changed files with 989 additions and 958 deletions

View file

@ -144,7 +144,7 @@ uint16_t handle_encoder_ccw(){
mapped_code = KC_WH_U;
break;
case ENC_MODE_BACKLIGHT:
// mapped_code = BL_DEC;
// mapped_code = BL_DOWN;
if(kb_backlight_config.level != 0){
kb_backlight_config.level = kb_backlight_config.level - 1;
}