From: Ben Deering <ben_deer...@swissmail.org>

Evdev is jittery on gta04.  Switch to tslib to make fine touch
operations like keyboard usage easier.
---
 .../xorg-xserver/xserver-xf86-config/om-gta04/xorg.conf    | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/meta-openmoko/recipes-graphics/xorg-xserver/xserver-xf86-config/om-gta04/xorg.conf
 
b/meta-openmoko/recipes-graphics/xorg-xserver/xserver-xf86-config/om-gta04/xorg.conf
index c766619..9036a5c 100644
--- 
a/meta-openmoko/recipes-graphics/xorg-xserver/xserver-xf86-config/om-gta04/xorg.conf
+++ 
b/meta-openmoko/recipes-graphics/xorg-xserver/xserver-xf86-config/om-gta04/xorg.conf
@@ -33,16 +33,20 @@ EndSection
 Section "InputDevice"
         Identifier      "Touchscreen"
         Option          "CorePointer"
-        Driver          "evdev"
+        Driver          "tslib"
         Option          "Device"        "/dev/input/event0"
         Option          "Width"         "480"
         Option          "Height"        "640"
-        Option          "Calibration" "250 3850 300 3750"
-        Option          "InvertY" "1"
+        Option "Calibration" "-1934060 8915 21 44161296 95 -11601 65536"
+EndSection
+Section "InputDevice"
+        Identifier "dummy"
+        Driver "void"
+        Option "Device" "/dev/input/mice"
 EndSection
-
 Section "ServerLayout"
         Identifier      "Builtin Default Layout"
         Screen          "Builtin Default fbdev Screen 0"
-        InputDevice     "Touchscreen"
+        InputDevice    "Touchscreen"
+        InputDevice     "dummy"
 EndSection
-- 
1.7.12

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to