The joystick services provide support for up to two joystick devices. Use the following functions to get information about joystick devices, to control joystick sensitivity, and to receive messages related to joystick movement and button activity:
joyGetDevCaps
Returns the capabilities of a joystick device.
joyGetNumDevs
Returns the number of devices supported by the joystick driver.
joyGetPos
Returns the position and button state of a joystick.
joyGetThreshold
Returns the movement threshold of a joystick.
joyReleaseCapture
Releases the joystick captured with joySetCapture.
joySetCapture
Causes periodic joystick messages to be sent to a window.
joySetThreshold
Sets the movement threshold of a joystick.