chiark / gitweb /
keymap: Add Onkyo PC
authorMartin Pitt <martin.pitt@ubuntu.com>
Sun, 22 Aug 2010 09:00:34 +0000 (11:00 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sun, 22 Aug 2010 09:00:34 +0000 (11:00 +0200)
Thanks to Pau Oliva!

https://launchpad.net/bugs/612529

Makefile.am
extras/keymap/95-keymap.rules
extras/keymap/keymaps/onkyo [new file with mode: 0644]

index 77df6ab..512de34 100644 (file)
@@ -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 \
index 2241422..e9d5721 100644 (file)
@@ -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 (file)
index 0000000..7dd80a1
--- /dev/null
@@ -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