OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6a793
)
hp-wmi: Add support for tablet rotation key
author
Matthew Garrett
<mjg@redhat.com>
Wed, 17 Feb 2010 15:29:39 +0000
(10:29 -0500)
committer
Matthew Garrett
<mjg@redhat.com>
Thu, 25 Feb 2010 16:50:54 +0000
(11:50 -0500)
The HP touchsmart tablet has a key for rotating the UI from landscape to
portrait. Add support for it.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/hp-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/hp-wmi.c
b/drivers/platform/x86/hp-wmi.c
index
ad4c414
..
3aa57da
100644
(file)
--- a/
drivers/platform/x86/hp-wmi.c
+++ b/
drivers/platform/x86/hp-wmi.c
@@
-89,6
+89,7
@@
static struct key_entry hp_wmi_keymap[] = {
{KE_KEY, 0x20e6, KEY_PROG1},
{KE_KEY, 0x2142, KEY_MEDIA},
{KE_KEY, 0x213b, KEY_INFO},
+ {KE_KEY, 0x2169, KEY_DIRECTION},
{KE_KEY, 0x231b, KEY_HELP},
{KE_END, 0}
};