skeezix posted on Mar 23 2007 at 10:19 PM said:
[...]From a mouse plugged into the gp2x?
You mention SDL .. if you're doing your own mouse code, its up to you ...
So .. question lacks details.
jeff
sorry... here is more detail
i'm writing a game where the player scrolls the map with a mouse connected to the gp2x
the map scrolls much slower than the mouse cursor moves. so if the player wants to scroll the map fast, he has to move the mouse fast
the problem is, when he moves the mouse fast, the cursor moves from the left side of the screen to the right side in less than one frame. so i can't detect fast mouse movements (the difference of the mouse positions is always smaller than the screen size)
paeryn posted on Mar 24 2007 at 07:34 PM said:
There's no general mouse setting for the GP2x that I know of so it's down to each program. If SDL doesn't have a built in way of setting it I'll add a function to HW SDL. There are a few other things I need to do as well but this should only take a few minutes to add so I should have it done over the weekend.
this would be great