Ticket #1381 (assigned defect)
clicking at touchscreen borders confuses libSDL's mouse cursor
|Reported by:||thebohemian@…||Owned by:||openmoko-devel|
|Blocking:||Estimated Completion (week):|
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
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.
- Owner changed from sean_chiang to openmoko-devel
- HasPatchForReview unset
- Component changed from Screen to Distro