hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Thu Aug 16 06:12:47 PDT 2007
fdi/information/10freedesktop/30-keymap-acer.fdi | 33 +++++++++++++++
fdi/information/10freedesktop/30-keymap-hp.fdi | 48 +++++++++++++++++++++++
2 files changed, 81 insertions(+)
New commits:
diff-tree 3d6b1649f772310dba7e67a60bbf0b061524cecf (from 042b780cb92d8121db0e33749f046be1623cef7a)
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Thu Aug 16 15:11:54 2007 +0200
add more keymaps for Acer and Hewlett-Packard laptops
Added new keymaps for the following laptops:
- HP: nc6230, nc6400, nw8440, nx6125, nx6325, nx7400
- Acer: TM C300, TM 3000, TM 4650
diff --git a/fdi/information/10freedesktop/30-keymap-acer.fdi b/fdi/information/10freedesktop/30-keymap-acer.fdi
index 62ceea4..b09ec82 100644
--- a/fdi/information/10freedesktop/30-keymap-acer.fdi
+++ b/fdi/information/10freedesktop/30-keymap-acer.fdi
@@ -223,6 +223,39 @@
</match>
</match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="TravelMate">
+ <!-- TravelMate C300 -->
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="C300">
+ <append key="input.keymap.data" type="strlist">0x68:f22</append> <!-- FIXME: rotate screen -->
+ <append key="input.keymap.data" type="strlist">0x68:up</append>
+ <append key="input.keymap.data" type="strlist">0x69:down</append>
+ <append key="input.keymap.data" type="strlist">0x6b:fn</append>
+ <append key="input.keymap.data" type="strlist">0x6c:lockscreen</append>
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
+ <!-- TravelMate 3000 -->
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="3000">
+ <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 -->
+ <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">e06e:brightnessup</append> <!-- Fn+Right Brightness Up -->
+ <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:f23</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>
+ <!-- TravelMate 4650 -->
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="4650">
+ <append key="input.keymap.data" type="strlist">e059:brightnessup</append> <!-- Fn+Right Brightness Up -->
+ <append key="input.keymap.data" type="strlist">e033:prog2</append> <!-- "P" programmable button -->
+ <append key="input.keymap.data" type="strlist">e034:prog1</append> <!-- "e" Acer eManager button -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
<!-- TravelMate 5110, TravelMate 5610 and TravelMate 5620 are identical -->
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="5110">
<append key="input.keymap.data" type="strlist">e025:help</append> <!-- Fn+F1 Hotkey help -->
diff --git a/fdi/information/10freedesktop/30-keymap-hp.fdi b/fdi/information/10freedesktop/30-keymap-hp.fdi
index 3ca2de8..e0ad344 100644
--- a/fdi/information/10freedesktop/30-keymap-hp.fdi
+++ b/fdi/information/10freedesktop/30-keymap-hp.fdi
@@ -21,12 +21,60 @@
<append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
<append key="info.capabilities" type="strlist">input.keymap</append>
</match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nc6230">
+ <append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
+ <append key="input.keymap.data" type="strlist">e008:tv</append> <!-- SVideo -->
+ <append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
+ <append key="input.keymap.data" type="strlist">e00a:screenlock</append> <!-- FnF6 Lock -->
+ <append key="input.keymap.data" type="strlist">e033:f22</append> <!-- FIXME: Auto brightness -->
+ <append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nc6320">
<append key="input.keymap.data" type="strlist">e008:tv</append> <!-- SVideo -->
<append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
<append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
<append key="info.capabilities" type="strlist">input.keymap</append>
</match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nc6400">
+ <append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
+ <append key="input.keymap.data" type="strlist">e008:tv</append> <!-- SVideo -->
+ <append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
+ <append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nw8440">
+ <append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
+ <append key="input.keymap.data" type="strlist">e008:tv</append> <!-- SVideo -->
+ <append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
+ <append key="input.keymap.data" type="strlist">e00a:screenlock</append> <!-- FnF6 Lock -->
+ <append key="input.keymap.data" type="strlist">e033:f22</append> <!-- FIXME: Auto brightness -->
+ <append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nx6125">
+ <append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
+ <append key="input.keymap.data" type="strlist">e008:tv</append> <!-- SVideo -->
+ <append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
+ <append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nx6325">
+ <append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
+ <append key="input.keymap.data" type="strlist">e008:tv</append> <!-- SVideo -->
+ <append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
+ <append key="input.keymap.data" type="strlist">e00a:screenlock</append> <!-- FnF6 Lock -->
+ <append key="input.keymap.data" type="strlist">e033:f22</append> <!-- FIXME: Auto brightness -->
+ <append key="input.keymap.data" type="strlist">e059:www</append> <!-- I key -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="nx7400">
+ <append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
+ <append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
+ <append key="input.keymap.data" type="strlist">e00a:screenlock</append> <!-- FnF6 Lock -->
+ <append key="input.keymap.data" type="strlist">e033:f22</append> <!-- FIXME: Auto brightness -->
+ <append key="info.capabilities" type="strlist">input.keymap</append>
+ </match>
</match>
</match>
</device>
More information about the hal-commit
mailing list