We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1463

Summary: SDL_touch events reported with wrong values
Product: SDL Reporter: Joseba García Echebarria <joseba.gar>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: w.boeke
Version: HG 2.0   
Hardware: iPhone/iPod touch   
OS: iOS 5   

Description Joseba García Echebarria 2012-04-07 08:30:43 UTC
When running the provided testgesture.c in the iOS simulator for the latest HG revision, the output looks like this:
INFO: Finger: 110913776 down - x: 20206, y: 3822
INFO: Finger: 110913776,x: 0, y: 20206
INFO: Finger: 110913776,x: 0, y: 20206
[...]
INFO: Finger: 110913776,x: 0, y: 25531
INFO: Finger: 110913776,x: 0, y: 25736
INFO: Finger: 110913776,x: 0, y: 25941
INFO: Finger: 110913776 up - x: 25941, y: 24576

I'd say this is wrong, even though the application behaves correctly for some reason.
Comment 1 wboe 2012-12-07 08:40:52 UTC
For Android similar troubles. In this case testgesture.c draws its touch traces mirrored around the centre of the screen. At that all my Android apps are broken after recompiling with newest SDL distribution!

wboe
Comment 2 wboe 2012-12-13 01:45:10 UTC
Me again. The wrong behavior with Android does not exist, it probably was the result of non-matching libraries. The build system is not fool-proof, I try to find out what went wrong and how to avoid it.
Comment 3 Sam Lantinga 2013-03-01 01:26:45 UTC
Just noting this wasn't a bug in SDL.