summaryrefslogtreecommitdiff
path: root/extras/keymap
diff options
context:
space:
mode:
authorSeth Forshee <seth.forshee@canonical.com>2011-04-05 11:43:00 -0500
committerMartin Pitt <martin.pitt@ubuntu.com>2011-04-05 19:38:36 +0200
commit5e0ec43fc40e3e6dd0e44a7d617846879e1dac9e (patch)
tree985b62feeccad7c36238a4d64cf0ecde767573b4 /extras/keymap
parent55eb500cc5465babf1fd773dbcceeb90eeefd997 (diff)
keymap: Support Dell Latitude XT2 tablet-mode navigation keys
The XT2 has a rocker (up/down/enter) and back button on the side in tablet mode, none of which work currently. Add entries for these keys. There is some overlap here with scan codes used in other Dell models, so these buttons are put in a new file specific to this model. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'extras/keymap')
-rw-r--r--extras/keymap/95-keymap.rules1
-rw-r--r--extras/keymap/keymaps/dell-latitude-xt24
2 files changed, 5 insertions, 0 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index 44d50642ed..350f111504 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -67,6 +67,7 @@ LABEL="keyboard_vendorcheck"
ENV{DMI_VENDOR}=="Dell*", RUN+="keymap $name dell"
ENV{DMI_VENDOR}=="Dell*", ATTR{[dmi/id]product_name}=="Inspiron 910|Inspiron 1010|Inspiron 1011|Inspiron 1012|Inspiron 1110|Inspiron 1210", RUN+="keymap $name 0x84 wlan"
+ENV{DMI_VENDOR}=="Dell*", ATTR{[dmi/id]product_name}=="Latitude XT2", RUN+="keymap $name dell-latitude-xt2"
ENV{DMI_VENDOR}=="Compaq*", ATTR{[dmi/id]product_name}=="*E500*|*Evo N*", RUN+="keymap $name compaq-e_evo"
diff --git a/extras/keymap/keymaps/dell-latitude-xt2 b/extras/keymap/keymaps/dell-latitude-xt2
new file mode 100644
index 0000000000..39872f559d
--- /dev/null
+++ b/extras/keymap/keymaps/dell-latitude-xt2
@@ -0,0 +1,4 @@
+0x9B up # tablet rocker up
+0x9E enter # tablet rocker press
+0x9F back # tablet back
+0xA3 down # tablet rocker down