summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-02-15 13:15:25 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2010-02-15 13:15:25 +0100
commit4ca91a04e8b727a079a973fdd9bc2b093e8315a5 (patch)
tree8e3ce8d0e559c057a52224f1c04c60cac3c6591a /extras
parentb15bb8019094797aee65f35e3e654354b61bfd7b (diff)
keymap: Add Toshiba Satellite M30X
Thanks to Alessio Gaeta! https://launchpad.net/bugs/510019
Diffstat (limited to 'extras')
-rw-r--r--extras/keymap/95-keymap.rules1
-rw-r--r--extras/keymap/keymaps/toshiba-satellite_m30x7
2 files changed, 8 insertions, 0 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index fcd42aae32..65b0d6eb0d 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -115,6 +115,7 @@ ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="S
ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="SATELLITE A100", RUN+="keymap $name toshiba-satellite_a100"
ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite A110", RUN+="keymap $name toshiba-satellite_a110"
+ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite M30X", RUN+="keymap $name toshiba-satellite_m30x"
ENV{DMI_VENDOR}=="OQO Inc.*", ATTR{[dmi/id]product_name}=="OQO Model 2*", RUN+="keymap $name oqo-model2"
diff --git a/extras/keymap/keymaps/toshiba-satellite_m30x b/extras/keymap/keymaps/toshiba-satellite_m30x
new file mode 100644
index 0000000000..cf6d912be5
--- /dev/null
+++ b/extras/keymap/keymaps/toshiba-satellite_m30x
@@ -0,0 +1,7 @@
+0xef brightnessdown
+0xd9 brightnessup
+0xee screenlock
+0x93 media
+0x9e prog1 #touchpad_enable
+0x9f prog2 #touchpad_disable
+