[PATCH] Add keymap entry for video hotkey on Lenovo 3000

Soeren Sandmann Pedersen sandmann at redhat.com
Sun Sep 7 20:03:58 PDT 2008


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

diff --git a/fdi/information/10freedesktop/30-keymap-lenovo.fdi b/fdi/information/10freedesktop/30-keymap-lenovo.fdi
index 973f0e1..4785caa 100644
--- a/fdi/information/10freedesktop/30-keymap-lenovo.fdi
+++ b/fdi/information/10freedesktop/30-keymap-lenovo.fdi
@@ -8,6 +8,7 @@
 
       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix="LENOVO">
         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.version" contains="3000">
+	  <append key="input.keymap.data" type="strlist">e00b:switchvideomode</append> <!-- Fn+F7 video -->
           <append key="input.keymap.data" type="strlist">e016:wlan</append> <!-- Fn+F5 wireless -->
           <append key="input.keymap.data" type="strlist">e017:sleep</append> <!-- Fn+F4 suspend -->
           <append key="input.keymap.data" type="strlist">e018:suspend</append> <!-- Fn+F12 hibernate -->
-- 
1.6.0.1



More information about the hal mailing list