Signed-off-by: Seth Forshee <seth.forshee@xxxxxxxxxxxxx> --- This button is unusual. On press it emits scanocde 0xe4, on release 0xe5, and when held for a few seconds it begins emitting 0xea about twice per second. I chose to handle only the press event in order to make it behave like the other hotkeys. Probably the closest thing to the intended function of this button would be to alternate the display orientation between portrait and landscape, but since there doesn't appear to be a keycode defined for that function I went with KEY_PROG2. I'm open to other suggestions however. drivers/platform/x86/eeepc-wmi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 0ddc434..d761f60 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -70,6 +70,7 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, { KE_KEY, 0xe0, { KEY_PROG1 } }, /* Task Manager */ { KE_KEY, 0xe1, { KEY_F14 } }, /* Change Resolution */ + { KE_KEY, 0xe4, { KEY_PROG2 } }, /* Rotate Display */ { KE_KEY, 0xe9, { KEY_BRIGHTNESS_ZERO } }, { KE_KEY, 0xeb, { KEY_CAMERA_ZOOMOUT } }, { KE_KEY, 0xec, { KEY_CAMERA_UP } }, -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html