mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
finally rewire: set next blinking pattern key to set_next_color_whole_kb()
This commit is contained in:
parent
e5d1aa8110
commit
bf601f1eba
|
@ -579,9 +579,13 @@ static void tuxedo_wmi_notify(u32 value, void *context)
|
|||
|
||||
break;
|
||||
|
||||
// case WMI_CODE_NEXT_BLINKING_PATTERN:
|
||||
// set_blinking_pattern((kbd_led_state.blinking_pattern + 1) >
|
||||
// (ARRAY_SIZE(blinking_patterns) - 1) ? 0 : (kbd_led_state.blinking_pattern + 1));
|
||||
// break;
|
||||
|
||||
case WMI_CODE_NEXT_BLINKING_PATTERN:
|
||||
set_blinking_pattern((kbd_led_state.blinking_pattern + 1) >
|
||||
(ARRAY_SIZE(blinking_patterns) - 1) ? 0 : (kbd_led_state.blinking_pattern + 1));
|
||||
set_next_color_whole_kb();
|
||||
break;
|
||||
|
||||
case WMI_CODE_TOGGLE_STATE:
|
||||
|
|
Loading…
Reference in a new issue