[PATCH] Add Acer Aspire 1300 keymap

David Riebenbauer davrieb at liegesta.at
Fri Dec 7 23:59:38 PST 2007


Add keymap quirks for Acer Aspire 1300 series.

---

Hi!

This patch adds adds the programmable keys of the Acer Aspire 1300 to
hal info.

 fdi/information/10freedesktop/30-keymap-acer.fdi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/fdi/information/10freedesktop/30-keymap-acer.fdi b/fdi/information/10freedesktop/30-keymap-acer.fdi
index b9c080f..fdfe727 100644
--- a/fdi/information/10freedesktop/30-keymap-acer.fdi
+++ b/fdi/information/10freedesktop/30-keymap-acer.fdi
@@ -8,6 +8,11 @@
 
       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix="Acer">
         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="Aspire">
+          <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="1300">
+            <append key="input.keymap.data" type="strlist">e073:prog2</append> <!-- "P2" programmable button -->
+            <append key="input.keymap.data" type="strlist">e074:prog1</append> <!-- "P1" programmable button -->
+            <append key="info.capabilities" type="strlist">input.keymap</append>
+          </match>
           <!-- Laptops without extra Euro and Dollar keys, pre mid-2004 & pre 'folio' design -->
           <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="1510">
             <append key="input.keymap.data" type="strlist">e025:help</append> <!-- Fn+F1 Hotkey help -->
-- 
1.5.3.5.632.g95c82



More information about the hal mailing list