This section is an alphabetic reference to the messages and data structures for joystick device drivers. Each joystick message has the JDD_ prefix and each joystick data structure has the JOY prefix.
Windows communicates with joystick device drivers through messages it sends to the driver. The driver process these messages with its DriverProc entry-point function. A message consists of three parts: a message number and two LONG parameters. Message numbers are identified by predefined message names. The two LONG parameters contain message-dependent values.
Basic capture operations | JDD_GETNUMDEVS |
Device capabilities | JDD_GETDEVCAPS JOYCAPS |
Calibration | JDD_SETCALIBRATION JOYCALIBRATE |
Position and button status | JDD_GETPOS JOYINFO |