Keymap quirks & Touchpad toggling

Ozan Çağlayan ozan at pardus.org.tr
Sun May 3 12:52:32 PDT 2009


Hi,

I was looking around for a keymap quirk for toggling the touchpad but I
saw 2 different quirks in the
current git tree:

|<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_ncase="Pavilion">
  <!-- Home and entertainment machines -->
  <append key="input.keymap.data" type="strlist">e008:media</append> <!-- FIXME: quick play -->
  <append key="input.keymap.data" type="strlist">e058:f22</append>    <!-- touchpad off -->
  <append key="input.keymap.data" type="strlist">e059:f23</append>    <!-- touchpad on  -->
</match>|

|<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix="Acer">
  <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) -->
</match>


Is it a typo or is there an explanation for the unary and binary mapping for toggling?

f23 is written as "Auto Brightness" in:

http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-try.html

Thanks,

Ozan Caglayan
http://www.pardus.org.tr/eng
|



More information about the hal mailing list