forked from pool/systemd
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From 71ed2d38711e345f22e2200bc7bb156aed98972a Mon Sep 17 00:00:00 2001
|
|
From: Bastien Nocera <hadess@hadess.net>
|
|
Date: Wed, 12 Nov 2014 23:30:46 +0100
|
|
Subject: [PATCH] keymap: Add support for IBM ThinkPad X41 Tablet
|
|
|
|
Scancode taken from:
|
|
http://www.thinkwiki.org/wiki/Tablet_Hardware_Buttons#Linux_Support
|
|
|
|
William Jon McCann provided the DMI match. IBM seems to have
|
|
swapped the version and model of the system:
|
|
Manufacturer: IBM
|
|
Product Name: 18666TU
|
|
Version: ThinkPad X41 Tablet
|
|
---
|
|
hwdb/60-keyboard.hwdb | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git hwdb/60-keyboard.hwdb hwdb/60-keyboard.hwdb
|
|
index d2ca965..56a4009 100644
|
|
--- hwdb/60-keyboard.hwdb
|
|
+++ hwdb/60-keyboard.hwdb
|
|
@@ -594,6 +594,13 @@ keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X6*:pvr*
|
|
KEYBOARD_KEY_6f=down # down on d-pad
|
|
KEYBOARD_KEY_69=enter # enter on d-pad
|
|
|
|
+# ThinkPad X41 Tablet
|
|
+keyboard:dmi:bvn*:bvr*:bd*:svnIBM*:pn18666TU:pvr*
|
|
+ KEYBOARD_KEY_6c=direction # rotate
|
|
+ KEYBOARD_KEY_68=f13 # toolbox
|
|
+ KEYBOARD_KEY_6b=esc # escape
|
|
+ KEYBOARD_KEY_69=enter # enter on d-pad
|
|
+
|
|
# IdeaPad
|
|
keyboard:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
|
|
KEYBOARD_KEY_42=f23
|
|
--
|
|
1.7.9.2
|
|
|