[Bug 1381] New: clicking at touchscreen borders confuses libSDL's mouse cursor

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue May 6 14:10:02 CEST 2008


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1381

           Summary: clicking at touchscreen borders confuses libSDL's mouse
                    cursor
           Product: Neo1973 Hardware
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Screen
        AssignedTo: sean_chiang at openmoko.org
        ReportedBy: thebohemian at gmx.net
                CC: buglog at lists.openmoko.org


I have this problem with my GTA01 phase-1 phone but it most likely affects the
GTA02 too since the display has not changed.

The problem can be only seen in SDL application when the use the fullscreen
mode. An app which this affects and which is in OM already is kobodeluxe however
I wrote a small test app which can be placed into an OE tree and provides some
informative output.

With this test app I was able to observe the following (IMHO wrong) behavior:
If you touch the screen with the stylus at the upper border the cursor block
will move quickly towards the left or right end depending on whether you are on
the left or right half of it. If you now move the stylus to the other side the
cursor's movement will turn as well and will soon crash into the other end.

Analogus behavior can be observed with all the other borders.

Without looking at the code my assumption is that the touchscreen driver reports
values which are outside the bounds (smaller than 0 and bigger than
width/height) of what a normal mouse driver would report and the code in SDL is
not able to deal with this.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list