From bf601f1eba3e3a06ae0493367f717d416b9ecb20 Mon Sep 17 00:00:00 2001 From: Richard Sailer Date: Mon, 19 Aug 2019 06:19:07 +0200 Subject: [PATCH] finally rewire: set next blinking pattern key to set_next_color_whole_kb() --- src/tuxedo_keyboard.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index 6ba36d0..34e9039 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -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: