diff options
Diffstat (limited to 'hal-0.5.11-patches/0048-use-evdev-for-touchpads-for-linux.patch')
-rw-r--r-- | hal-0.5.11-patches/0048-use-evdev-for-touchpads-for-linux.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hal-0.5.11-patches/0048-use-evdev-for-touchpads-for-linux.patch b/hal-0.5.11-patches/0048-use-evdev-for-touchpads-for-linux.patch new file mode 100644 index 00000000..177ad5f6 --- /dev/null +++ b/hal-0.5.11-patches/0048-use-evdev-for-touchpads-for-linux.patch @@ -0,0 +1,33 @@ +From 71f57f3aaae7c72eab8b1b3dae7d03d3f91ed377 Mon Sep 17 00:00:00 2001 +From: Saleem Abdulrasool <compnerd@compnerd.org> +Date: Sat, 31 Jan 2009 17:11:16 -0800 +Subject: [PATCH 48/48] use evdev for touchpads for linux + +Some touchpads only register as touchpads and not as mice. Ensure they use the +evdev driver. +--- + fdi/policy/10osvendor/10-x11-input.fdi | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi +index 6bd8e76..4a54176 100644 +--- a/fdi/policy/10osvendor/10-x11-input.fdi ++++ b/fdi/policy/10osvendor/10-x11-input.fdi +@@ -10,6 +10,14 @@ + </match> + </match> + ++ <match key="info.capabilities" contains="input.touchpad"> ++ <merge key="input.x11_driver" type="string">mouse</merge> ++ <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" ++ string="Linux"> ++ <merge key="input.x11_driver" type="string">evdev</merge> ++ </match> ++ </match> ++ + <match key="info.capabilities" contains="input.keys"> + <!-- If we're using Linux, we use evdev by default (falling back to + keyboard otherwise). --> +-- +1.6.1.2 + |