chiark / gitweb /
Remap MSI Laptop touchpad on/off key to F22 and F23
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Thu, 10 Mar 2011 02:17:12 +0000 (10:17 +0800)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 10 Mar 2011 07:51:06 +0000 (08:51 +0100)
commit52d54f237d8b5380b0573242702606bf2ec5b7ab
tree874fdc1117be3c961f2f04f2dfe73ef511f7ad63
parent74e8a45ed414c25064bb2a1ffd0f27f5bd5280a6
Remap MSI Laptop touchpad on/off key to F22 and F23

MSI Laptop driver will query the real touchpad state then emit
KEY_TOUCHPAD_ON/OFF key.

Currently, X has defined F22 for touchpad on and F23 for touchpad
off. This patch aligns MSI Laptop driver's key with F22 and F23.

Tested on MSI U160 netbook using msi-laptop driver.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
extras/keymap/95-keymap.rules