Joystick ball sensitivities

When the mouse moves, I can be pretty sure that the relative movements are in
screen coordinates, and then scale them by the window size for my game control
(please tell me if I’m wrong). However, I’m not so sure for the movement of
joystick balls. Are they in screen coordinates as well? Since I don’t think
I’ve ever seen a joystick with a ball on it, I can’t exactly test it…

Joysticks with actual trackballs on them - not analog och digital
hats, that is? Well, I guess such a thing would normally be
configured to work pretty much like a normal trackball. What other
way is there?

Either way, the resolution of relative data is really totally down to
interpretation, and depends on the hardware (many mice seem to have
built-in acceleration), drivers and user configuration. Just like
with mice and normal trackballs, the physical resulotion very rarely
matches the display resolution, since normal configurations include
translations with acceleration and scaling. It doesn’t really make
sense to handle it any other way, since these devices (unlike analog
sticks, digitizers/tablets and some other devices) are inherently
relative by design.

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
http://olofson.nethttp://www.reologica.se —On Tuesday 22 June 2004 11.09, Kurt Blackwell wrote:

When the mouse moves, I can be pretty sure that the relative
movements are in screen coordinates, and then scale them by the
window size for my game control (please tell me if I’m wrong).
However, I’m not so sure for the movement of joystick balls. Are
they in screen coordinates as well? Since I don’t think I’ve ever
seen a joystick with a ball on it, I can’t exactly test it…

“Kurt Blackwell” wrote in message
news:loom.20040622T110013-206 at post.gmane.org

When the mouse moves, I can be pretty sure that the relative movements are
in
screen coordinates, and then scale them by the window size for my game
control
(please tell me if I’m wrong). However, I’m not so sure for the movement
of
joystick balls. Are they in screen coordinates as well? Since I don’t
think
I’ve ever seen a joystick with a ball on it, I can’t exactly test it…

Same as a mouse trackball really, there’s no hard and fast way of telling
how much movement output it produces … this is why most games have a
"mouse sensitivity" option! :slight_smile: