diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index eb4fb6e..8ee8f96 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -47,6 +47,7 @@ #define UNIWILL_KEY_RFKILL 0x0A4 #define UNIWILL_KEY_KBDILLUMDOWN 0x0B1 #define UNIWILL_KEY_KBDILLUMUP 0x0B2 +#define UNIWILL_KEY_KBDILLUMTOGGLE 0x0B9 #define UNIWILL_OSD_TOUCHPADWORKAROUND 0xFFF @@ -78,6 +79,7 @@ static struct key_entry uniwill_wmi_keymap[] = { // Keyboard brightness { KE_KEY, UNIWILL_KEY_KBDILLUMDOWN, { KEY_KBDILLUMDOWN } }, { KE_KEY, UNIWILL_KEY_KBDILLUMUP, { KEY_KBDILLUMUP } }, + { KE_KEY, UNIWILL_KEY_KBDILLUMTOGGLE, { KEY_KBDILLUMTOGGLE } }, // Only used to put ev bits { KE_KEY, 0xffff, { KEY_F6 } }, { KE_KEY, 0xffff, { KEY_LEFTALT } },