Sdl Mouse Coords Are Offset


GernotFrisch

Member
Joined
Jan 2, 2007
Messages
445
Hi,

when I use SDL to get the mouse coordinates, the movement seems relative to the movement, but with an offset. If I move closer to the borders, the offset can be made smaller, but once I touch the border, everything freaks out, totally.

What can I do?
 
if i get you right, this is a problem with SDL handling mouse position with hidden cursors.

DJWillis has posted a workaround and described this problem on his blog: http://blogs.distant-earth.com/wp/?p=293

*edit* fixed link
 
OK, that fixes the freaking out when the curser is placed on the border. The start position is still far off the returned coords.

Would be cool if anyone would fix that for the pandora and put it in a hitfix.
 
Can you detail it more?

Never noticed a problem with accuracy in minimenu

ie: In scummvm is seems pretty precise; in my BattleJewels game which is using SDL backend on Pandora, it works fine and needs to be within a few pixels accuracy. Dosbox also seems pretty accurate.

Never noticed anything :)

jeff
 
Back
Top