MouseMoved events use unsigned relative values
Reported by Keith McAuley | July 7th, 2009 @ 12:02 AM
#<Rubygame::Events::MouseMoved:0x1555c174 @buttons=[],
@rel=[1, 0], @pos=[238, 213]>
#<Rubygame::Events::MouseMoved:0x15552624 @buttons=[],
@rel=[4294967295, 0], @pos=[237, 213]>
The "4294967295" should be -1.
Comments and changes to this ticket
-

John Croisant July 7th, 2009 @ 03:07 AM
- → State changed from new to resolved
- → Tag set to @bug, event
Thanks for the report! I noticed that JoystickBallMoved also had the same bug, so I've fixed both of them in the source code repository: http://github.com/jacius/rubygame/commits/maint-2.5
I'll probably release a small bugfix version within the next few days, containing these fixes.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Flexible library for making games with the Ruby language.
http://rubygame.org