summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeng-Yu Lin <keng-yu.lin@canonical.com>2009-09-16 15:08:05 +0800
committerMartin Pitt <martin.pitt@ubuntu.com>2009-12-22 12:45:50 +0100
commit16e1c1921e089a4b53940b6b265fc72446d28254 (patch)
treeda02a8bcccef7826f6a336ce6ece9e00bc31433d
parent144401bdfaa8a61e13ad6d3c71fad04c0d7ba5d8 (diff)
Add hotkey quirk for Acer Aspire One (AO531h/AO751h)
To prevent the brightness adjustment OSD from showing when disabling the bluetooth. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
-rw-r--r--fdi/information/10freedesktop/30-keymap-acer.fdi4
1 files changed, 4 insertions, 0 deletions
diff --git a/fdi/information/10freedesktop/30-keymap-acer.fdi b/fdi/information/10freedesktop/30-keymap-acer.fdi
index a2cf8d8..4511bff 100644
--- a/fdi/information/10freedesktop/30-keymap-acer.fdi
+++ b/fdi/information/10freedesktop/30-keymap-acer.fdi
@@ -61,6 +61,10 @@
<append key="input.keymap.data" type="strlist">e012:prog2</append>
<append key="input.keymap.data" type="strlist">e059:bluetooth</append> <!-- Bluetooth (toggle) on-to-off -->
</match>
+ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="AO751h;AO531h">
+ <remove key="input.keymap.data" type="strlist">e059:brightnessup</remove>
+ <append key="input.keymap.data" type="strlist">e059:bluetooth</append> <!-- Bluetooth (toggle) on-to-off -->
+ </match>
</match>
</match>
</device>