From 0d915b833ba347f60c53970b5128b8f4640f8d93 Mon Sep 17 00:00:00 2001 From: Richard Sailer Date: Thu, 22 Aug 2019 04:08:43 +0200 Subject: [PATCH] next_color(): Add usefull debug output --- src/tuxedo_keyboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index 34e9039..e70251b 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -469,6 +469,9 @@ static int set_next_color_whole_kb(void) } new_color_code = color_list.colors[new_color_id].code; + TUXEDO_INFO("set_next_color_whole_kb(): new_color_id: %i, new_color_code %X", + new_color_id, new_color_code); + /* Set color on all four regions*/ // TODO: perhaps use set_color_region here, because of better struct state // handling (or implement something like it myself)