aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/asus-nb-wmi.c22
1 files changed, 19 insertions, 3 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index 73e082609755..9aa6642f1ab0 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -210,9 +210,13 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
210 { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */ 210 { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */
211 { KE_KEY, 0x5F, { KEY_WLAN } }, /* Wireless console Disable */ 211 { KE_KEY, 0x5F, { KEY_WLAN } }, /* Wireless console Disable */
212 { KE_KEY, 0x60, { KEY_TOUCHPAD_ON } }, 212 { KE_KEY, 0x60, { KEY_TOUCHPAD_ON } },
213 { KE_KEY, 0x61, { KEY_SWITCHVIDEOMODE } }, /* LCD Only */ 213 { KE_KEY, 0x61, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD only */
214 { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, /* CRT Only */ 214 { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT only */
215 { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, /* LCD + CRT */ 215 { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT */
216 { KE_KEY, 0x64, { KEY_SWITCHVIDEOMODE } }, /* SDSP TV */
217 { KE_KEY, 0x65, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + TV */
218 { KE_KEY, 0x66, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + TV */
219 { KE_KEY, 0x67, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + TV */
216 { KE_KEY, 0x6B, { KEY_TOUCHPAD_TOGGLE } }, 220 { KE_KEY, 0x6B, { KEY_TOUCHPAD_TOGGLE } },
217 { KE_IGNORE, 0x6E, }, /* Low Battery notification */ 221 { KE_IGNORE, 0x6E, }, /* Low Battery notification */
218 { KE_KEY, 0x7D, { KEY_BLUETOOTH } }, /* Bluetooth Enable */ 222 { KE_KEY, 0x7D, { KEY_BLUETOOTH } }, /* Bluetooth Enable */
@@ -220,12 +224,24 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
220 { KE_KEY, 0x82, { KEY_CAMERA } }, 224 { KE_KEY, 0x82, { KEY_CAMERA } },
221 { KE_KEY, 0x88, { KEY_RFKILL } }, /* Radio Toggle Key */ 225 { KE_KEY, 0x88, { KEY_RFKILL } }, /* Radio Toggle Key */
222 { KE_KEY, 0x8A, { KEY_PROG1 } }, /* Color enhancement mode */ 226 { KE_KEY, 0x8A, { KEY_PROG1 } }, /* Color enhancement mode */
227 { KE_KEY, 0x8C, { KEY_SWITCHVIDEOMODE } }, /* SDSP DVI only */
228 { KE_KEY, 0x8D, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + DVI */
229 { KE_KEY, 0x8E, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + DVI */
230 { KE_KEY, 0x8F, { KEY_SWITCHVIDEOMODE } }, /* SDSP TV + DVI */
231 { KE_KEY, 0x90, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + DVI */
232 { KE_KEY, 0x91, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + TV + DVI */
233 { KE_KEY, 0x92, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + TV + DVI */
234 { KE_KEY, 0x93, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + TV + DVI */
223 { KE_KEY, 0x95, { KEY_MEDIA } }, 235 { KE_KEY, 0x95, { KEY_MEDIA } },
224 { KE_KEY, 0x99, { KEY_PHONE } }, 236 { KE_KEY, 0x99, { KEY_PHONE } },
225 { KE_KEY, 0xA0, { KEY_SWITCHVIDEOMODE } }, /* SDSP HDMI only */ 237 { KE_KEY, 0xA0, { KEY_SWITCHVIDEOMODE } }, /* SDSP HDMI only */
226 { KE_KEY, 0xA1, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + HDMI */ 238 { KE_KEY, 0xA1, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + HDMI */
227 { KE_KEY, 0xA2, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + HDMI */ 239 { KE_KEY, 0xA2, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + HDMI */
228 { KE_KEY, 0xA3, { KEY_SWITCHVIDEOMODE } }, /* SDSP TV + HDMI */ 240 { KE_KEY, 0xA3, { KEY_SWITCHVIDEOMODE } }, /* SDSP TV + HDMI */
241 { KE_KEY, 0xA4, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + HDMI */
242 { KE_KEY, 0xA5, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + TV + HDMI */
243 { KE_KEY, 0xA6, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + TV + HDMI */
244 { KE_KEY, 0xA7, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + TV + HDMI */
229 { KE_KEY, 0xB5, { KEY_CALC } }, 245 { KE_KEY, 0xB5, { KEY_CALC } },
230 { KE_KEY, 0xC4, { KEY_KBDILLUMUP } }, 246 { KE_KEY, 0xC4, { KEY_KBDILLUMUP } },
231 { KE_KEY, 0xC5, { KEY_KBDILLUMDOWN } }, 247 { KE_KEY, 0xC5, { KEY_KBDILLUMDOWN } },