projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ae435
)
acer-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE
author
Lee, Chun-Yi
<
[email protected]
>
Tue, 1 Mar 2011 17:07:11 +0000
(
01:07
+0800)
committer
Matthew Garrett
<
[email protected]
>
Mon, 28 Mar 2011 10:07:26 +0000
(06:07 -0400)
Set the touchpad toggle key code from F22 to KEY_TOUCHPAD_TOGGLE,
and userspace should use udev's key re-mapping facilities while X
is unable to process keycodes above 255 to adjust to the keycode.
Cc: Matthew Garrett <
[email protected]
>
Cc: Dmitry Torokhov <
[email protected]
>
Cc: Corentin Chary <
[email protected]
>
Signed-off-by: Lee, Chun-Yi <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/acer-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/acer-wmi.c
b/drivers/platform/x86/acer-wmi.c
index c9784705f6ac41ca63666b6d330cfb651c080b0b..a8acf35d74751cedf75f5ebd33904b345d1397a7 100644
(file)
--- a/
drivers/platform/x86/acer-wmi.c
+++ b/
drivers/platform/x86/acer-wmi.c
@@
-108,7
+108,7
@@
static const struct key_entry acer_wmi_keymap[] = {
{KE_KEY, 0x23, {KEY_PROG3} }, /* P_Key */
{KE_KEY, 0x24, {KEY_PROG4} }, /* Social networking_Key */
{KE_KEY, 0x64, {KEY_SWITCHVIDEOMODE} }, /* Display Switch */
- {KE_KEY, 0x82, {KEY_
F22} },
/* Touch Pad On/Off */
+ {KE_KEY, 0x82, {KEY_
TOUCHPAD_TOGGLE} },
/* Touch Pad On/Off */
{KE_END, 0}
};