chiark / gitweb /
extras/keymap: add Zepto ZNote
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 16 Jul 2009 15:34:01 +0000 (17:34 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 16 Jul 2009 15:34:01 +0000 (17:34 +0200)
Reported on https://launchpad.net/bugs/400252

extras/keymap/95-keymap.rules
extras/keymap/keymaps/zepto-znote [new file with mode: 0644]

index 084227e9bdd6403efbe5552743fba8714d59b55d..c1132ec7182dad25df93ce8bb8b2e3cc7905cc7b 100644 (file)
@@ -78,4 +78,6 @@ 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 via-K8N800"
 
+ENV{DMI_VENDOR}=="Zepto", ATTR{[dmi/id]product_name}=="Znote", ATTR{[dmi/id]product_version}=="62*|63*", RUN+="keymap $name zepto-znote"
+
 LABEL="keyboard_end"
diff --git a/extras/keymap/keymaps/zepto-znote b/extras/keymap/keymaps/zepto-znote
new file mode 100644 (file)
index 0000000..e076516
--- /dev/null
@@ -0,0 +1,11 @@
+0x93 switchvideomode    # Fn+F3 Toggle Video Output
+0x95 brightnessdown     # Fn+F4 Brightness Down
+0x91 brightnessup       # Fn+F5 Brightness Up
+0xA5 f22                # Fn+F6 Disable Touchpad
+0xA6 f22                # Fn+F6 Enable Touchpad
+0xA7 bluetooth          # Fn+F10 Enable Bluetooth
+0XA9 bluetooth          # Fn+F10 Disable Bluetooth
+0xF1 wlan               # RF Switch Off
+0xF2 wlan               # RF Switch On
+0xF4 prog1              # P1 Button
+0xF3 prog2              # P2 Button