mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 11:43:59 +01:00
Add manual mode rfkill key mapping
This commit is contained in:
parent
1fb21807dc
commit
8fdd6aea99
|
@ -35,6 +35,8 @@
|
||||||
#define UNIWILL_OSD_RADIOON 0x01A
|
#define UNIWILL_OSD_RADIOON 0x01A
|
||||||
#define UNIWILL_OSD_RADIOOFF 0x01B
|
#define UNIWILL_OSD_RADIOOFF 0x01B
|
||||||
|
|
||||||
|
#define UNIWILL_KEY_RFKILL 0x0A4
|
||||||
|
|
||||||
#define UNIWILL_OSD_TOUCHPADWORKAROUND 0xFFF
|
#define UNIWILL_OSD_TOUCHPADWORKAROUND 0xFFF
|
||||||
|
|
||||||
#define UNIWILL_BRIGHTNESS_MIN 0x00
|
#define UNIWILL_BRIGHTNESS_MIN 0x00
|
||||||
|
@ -83,6 +85,8 @@ static struct key_entry uniwill_wmi_keymap[] = {
|
||||||
// { KE_KEY, UNIWILL_OSD_RADIOON, { KEY_RFKILL } },
|
// { KE_KEY, UNIWILL_OSD_RADIOON, { KEY_RFKILL } },
|
||||||
// { KE_KEY, UNIWILL_OSD_RADIOOFF, { KEY_RFKILL } },
|
// { KE_KEY, UNIWILL_OSD_RADIOOFF, { KEY_RFKILL } },
|
||||||
// { KE_KEY, 0xb0, { KEY_F13 } },
|
// { KE_KEY, 0xb0, { KEY_F13 } },
|
||||||
|
// Manual mode rfkill
|
||||||
|
{ KE_KEY, UNIWILL_KEY_RFKILL, { KEY_RFKILL }},
|
||||||
{ KE_KEY, UNIWILL_OSD_TOUCHPADWORKAROUND, { KEY_F21 } },
|
{ KE_KEY, UNIWILL_OSD_TOUCHPADWORKAROUND, { KEY_F21 } },
|
||||||
// Only used to put ev bits
|
// Only used to put ev bits
|
||||||
{ KE_KEY, 0xffff, { KEY_F6 } },
|
{ KE_KEY, 0xffff, { KEY_F6 } },
|
||||||
|
|
Loading…
Reference in a new issue