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 642 - Missing mousemotion tilt field; tilt is two-dimensional
Summary: Missing mousemotion tilt field; tilt is two-dimensional
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: 2008-11-09 02:11 UTC by Gerry JJ
Modified: 2009-12-15 16:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry JJ 2008-11-09 02:11:49 UTC
The SDL_MouseMotionEvent struct has a field named "tilt" (currently marked "for future use"), for tablet stylus tilt information.  However, one value is not enough for this, as tilt is two-dimensional.  Reserving only one field for future use is no good when you're going to need two, so there should be two fields, tilt_x and tilt_y.
Comment 1 Sam Lantinga 2009-10-10 12:22:39 UTC
Ryan, can you coordinate this with Szymon?
Comment 2 Sam Lantinga 2009-12-15 16:45:54 UTC
This is fixed in subversion, thanks!