summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-08-22 11:00:34 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-08-22 11:00:34 +0200
commitacf865b68e1a5c78677537b373b6e082c287fc27 (patch)
treef9a86108977d801aeea5dfd17a5364152628988f
parent6593e8961afbe0b74d5a67c545a991c7733e88df (diff)
keymap: Add Onkyo PC
Thanks to Pau Oliva! https://launchpad.net/bugs/612529
-rw-r--r--Makefile.am1
-rw-r--r--extras/keymap/95-keymap.rules2
-rw-r--r--extras/keymap/keymaps/onkyo14
3 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 77df6ab767..512de34a31 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -555,6 +555,7 @@ dist_udevkeymap_DATA = \
extras/keymap/keymaps/module-sony \
extras/keymap/keymaps/module-sony-old \
extras/keymap/keymaps/olpc-xo \
+ extras/keymap/keymaps/onkyo \
extras/keymap/keymaps/oqo-model2 \
extras/keymap/keymaps/samsung-other \
extras/keymap/keymaps/samsung-sq1us \
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index 2241422775..e9d5721309 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -127,6 +127,8 @@ ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite M30X", RUN+="
ENV{DMI_VENDOR}=="OQO Inc.*", ATTR{[dmi/id]product_name}=="OQO Model 2*", RUN+="keymap $name oqo-model2"
+ENV{DMI_VENDOR}=="ONKYO CORPORATION", ATTR{[dmi/id]product_name}=="ONKYOPC", RUN+="keymap $name onkyo"
+
ENV{DMI_VENDOR}=="ASUS", RUN+="keymap $name asus"
ENV{DMI_VENDOR}=="VIA", ATTR{[dmi/id]product_name}=="K8N800", ATTR{[dmi/id]product_version}=="VT8204B", RUN+="keymap $name 0x81 prog1"
diff --git a/extras/keymap/keymaps/onkyo b/extras/keymap/keymaps/onkyo
new file mode 100644
index 0000000000..7dd80a1fb0
--- /dev/null
+++ b/extras/keymap/keymaps/onkyo
@@ -0,0 +1,14 @@
+0xA0 mute # Fn+D
+0xAE volumedown # Fn+F
+0xB0 volumeup # Fn+G
+0xDF sleep # Fn+W
+0xE0 bluetooth # Fn+H
+0xE2 cyclewindows # Fn+Esc
+0xEE battery # Fn+Q
+0xF0 media # Fn+R
+0xF5 switchvideomode # Fn+E
+0xF6 camera # Fn+T
+0xF7 f22 # Fn+Y (touchpad toggle)
+0xF8 brightnessup # Fn+S
+0xF9 brightnessdown # Fn+A
+0xFB wlan # Fn+J