Joystick Reference

This section describes the functions, structures, and messages associated with joysticks. The elements are grouped as follows:

Device Capabilities

joyGetDevCaps
joyGetNumDevs
JOYCAPS

Querying a Joystick

joyGetPos
joyGetPosEx
JOYINFO
JOYINFOEX

Capturing a Joystick

joyGetThreshold
joyReleaseCapture
joySetCapture
joySetThreshold
MM_JOY1BUTTONDOWN
MM_JOY1BUTTONUP
MM_JOY1MOVE
MM_JOY1ZMOVE
MM_JOY2BUTTONDOWN
MM_JOY2BUTTONUP
MM_JOY2MOVE
MM_JOY2ZMOVE