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 - SDL_Touch should reserve tilt_x and tilt_y, not just tilt
Summary: SDL_Touch should reserve tilt_x and tilt_y, not just tilt
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-14 19:42 UTC by Gerry JJ
Modified: 2012-09-02 21:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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