From 64ca37889f2baa0195478337e067efd60ba61a04 Mon Sep 17 00:00:00 2001 From: Vinothan Shankar Date: Sat, 2 Feb 2019 14:47:52 +0000 Subject: [PATCH] Enable extra region when it exists, instead of when it doesn't --- src/tuxedo_keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index 23f7375..81750e7 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -200,7 +200,7 @@ static int __init tuxdeo_keyboard_init(void) TUXEDO_ERROR("Sysfs attribute creation failed for color right\n"); } - if(set_color(REGION_EXTRA, KB_COLOR_DEFAULT) == 0) + if(set_color(REGION_EXTRA, KB_COLOR_DEFAULT) != 0) { TUXEDO_DEBUG("Keyboard does not support EXTRA Color"); keyboard.has_extra = 0;