annepro2: Add more LED functionalities to default-layer-indicators (#16676)
This commit is contained in:
parent
ed773ab73c
commit
773242503c
3 changed files with 17 additions and 2 deletions
|
@ -192,6 +192,15 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|||
ap2_led_reset_foreground_color();
|
||||
break;
|
||||
|
||||
case KC_AP_LED_TOG:
|
||||
if (ap2_led_status.matrix_enabled) {
|
||||
ap2_led_disable();
|
||||
} else {
|
||||
ap2_led_enable();
|
||||
ap2_led_reset_foreground_color();
|
||||
}
|
||||
break;
|
||||
|
||||
case KC_AP_LED_NEXT_PROFILE:
|
||||
ap2_led_next_profile();
|
||||
ap2_led_reset_foreground_color();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue