Acer Extensa 4010 keymap patch
andrej.gelenberg at googlemail.com
andrej.gelenberg at googlemail.com
Thu Jul 26 07:32:34 PDT 2007
Hallo,
hier is my patch for keymap for Acer Extensa 4010.
-------------- next part --------------
diff --git a/fdi/information/10freedesktop/30-keymap-acer.fdi b/fdi/information/10freedesktop/30-keymap-acer.fdi
index dc66181..e023366 100644
--- a/fdi/information/10freedesktop/30-keymap-acer.fdi
+++ b/fdi/information/10freedesktop/30-keymap-acer.fdi
@@ -184,6 +184,28 @@
<append key="info.capabilities" type="strlist">input.keymap</append>
</match>
</match>
+ <!-- Acer Extensa 4010 and Aspire 5040 are identical -->
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="Extensa">
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="4010">
+ <append key="input.keymap.data" type="strlist">e025:help</append> <!-- Fn+F1 Hotkey help -->
+ <append key="input.keymap.data" type="strlist">e026:setup</append> <!-- Fn+F2 Acer eSettings -->
+ <append key="input.keymap.data" type="strlist">e027:battery</append> <!-- Fn+F3 Power Management -->
+ <append key="input.keymap.data" type="strlist">e029:switchvideomode</append> <!-- Fn+F5 Display toggle -->
+ <!-- Euro and Dollar symbol. Better setkeycode and keymap edit.
+ <append key="input.keymap.data" type="strlist">e033:f14</append>
+ <append key="input.keymap.data" type="strlist">e034:f15</append>
+ -->
+ <append key="input.keymap.data" type="strlist">e055:wlan</append> <!-- Wireless (toggle) on-to-off -->
+ <append key="input.keymap.data" type="strlist">e056:wlan</append> <!-- Wireless (toggle) off-to-on -->
+ <append key="input.keymap.data" type="strlist">e057:bluetooth</append> <!-- Bluetooth (toggle) on-to-off -->
+ <append key="input.keymap.data" type="strlist">e058:bluetooth</append> <!-- Bluetooth (toggle) off-to-on -->
+ <append key="input.keymap.data" type="strlist">e071:f22</append> <!-- Fn+F7 Touchpad toggle (off-to-on) -->
+ <append key="input.keymap.data" type="strlist">e072:f22</append> <!-- Fn+F7 Touchpad toggle (on-to-off) -->
+ <append key="input.keymap.data" type="strlist">e073:prog2</append> <!-- "P" programmable button -->
+ <append key="input.keymap.data" type="strlist">e074:prog1</append> <!-- "e" Acer eManager button -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
+ </match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="Ferrari">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="4000">
<append key="input.keymap.data" type="strlist">e025:help</append> <!-- Fn+F1 Hotkey help -->
More information about the hal
mailing list