Change Mouse Cursor Speed


jokeman

Still Fresh
Joined
Feb 4, 2006
Messages
101
Location
Austria
Website
Visit site
hi!
is there a way to change the speed of the mouse cursor?
can i change it with SDL?
or at least... in something like a mouse setting file in linux?

thx for any help
 

skeezix

Internal Development
Joined
Mar 11, 2003
Messages
8,063
Website
www.codejedi.com
jokeman posted on Mar 23 2007 at 09:14 AM said:
hi!
is there a way to change the speed of the mouse cursor?
can i change it with SDL?
or at least... in something like a mouse setting file in linux?

thx for any help

To which one must ask..

The mouse in what?

X server in linux? In amiga or ST emu?

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
 
Last edited by a moderator:

paeryn

Reclusive maniac
Joined
Nov 28, 2005
Messages
432
Age
50
Location
Sheffield, England
Website
paeryn.myby.co.uk
jokeman posted on Mar 23 2007 at 02:14 PM said:
is there a way to change the speed of the mouse cursor?
can i change it with SDL?
or at least... in something like a mouse setting file in linux?
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.
 
Last edited by a moderator:

jokeman

Still Fresh
Joined
Feb 4, 2006
Messages
101
Location
Austria
Website
Visit site
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
 
Last edited by a moderator:
Top