Joystick
Capabilities
Joysticks can
support two- or three-axis movement and up to four buttons. Joysticks also
support different ranges of motion and polling frequencies. The
range of motion is the distance a joystick handle can move from its resting
position to the position farthest from its resting position. The polling
frequency is the time interval between joystick queries.
Joystick
drivers can support either one or two joysticks. You can determine the number
of joysticks supported by a joystick driver by using the joyGetNumDevs
You can
determine if a joystick is attached to the system by using the joyGetPos
Each joystick
has several capabilities that are available to your application. You can
retrieve the capabilities of a joystick by using the joyGetDevCaps