kernel
Revision | b578ceb196e03f584b5e54f435c68fe256498519 (tree) |
---|---|
Time | 2012-02-19 03:20:38 |
Author | Kyle Evans <kevans@andr...> |
Commiter | Kyle Evans |
hp-wmi: Add keycode for hotkey hack
Using a hack to the dsdt for the HP tx2500, the wireless switch no longer functions as normal, but as a
notify to have hp-wmi query for a hotkey button press. In the event no button was pressed, this keycode,
KEY_AGAIN, is used.
@@ -130,6 +130,7 @@ struct bios_rfkill2_state { | ||
130 | 130 | }; |
131 | 131 | |
132 | 132 | static const struct key_entry hp_wmi_keymap[] = { |
133 | + { KE_KEY, 0x0, { KEY_AGAIN } }, | |
133 | 134 | { KE_KEY, 0x02, { KEY_BRIGHTNESSUP } }, |
134 | 135 | { KE_KEY, 0x03, { KEY_BRIGHTNESSDOWN } }, |
135 | 136 | { KE_KEY, 0x20e6, { KEY_PROG1 } }, |