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 1542

Summary: SDL_Touch should reserve tilt_x and tilt_y, not just tilt
Product: SDL Reporter: Gerry JJ <trick>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: shirishag75
Version: HG 2.0   
Hardware: All   
OS: All   

Description Gerry JJ 2012-07-14 19:42:23 UTC
The SDL_Touch structure currently reserves fields for tablet tilt and rotation (marked "for future use"), but a tablet stylus can tilt in both x and y directions in addition to rotation around itself (or, put another way, it can rotate in x, y and z). So, the struct should probably reserve fields for both tilt_x and tilt_y, not just tilt.
Comment 1 Sam Lantinga 2012-07-18 15:54:05 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/76d0f2cf2ca6