From 9528405c4ac1defb8dc48f2095d971c978de5bb1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 16 Jul 2009 17:34:01 +0200 Subject: [PATCH] extras/keymap: add Zepto ZNote Reported on https://launchpad.net/bugs/400252 --- extras/keymap/95-keymap.rules | 2 ++ extras/keymap/keymaps/zepto-znote | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 extras/keymap/keymaps/zepto-znote diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index 084227e9..c1132ec7 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -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 index 00000000..e0765162 --- /dev/null +++ b/extras/keymap/keymaps/zepto-znote @@ -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 -- 2.39.5