Joystick-Specific Messages Handled by DriverProc

The DriverProc function for a joystick driver handles the following joystick-specific messages:

JDD_GETDEVCAPS

Supply the device capabilities.

JDD_GETNUMDEVS

Supply the number of joystick devices supported by the hardware.

JDD_GETPOS

Supply the position of the stick and the state of the buttons.

JDD_SETCALIBRATION

Adopt new calibration settings.

These joystick-specific messages are described in the following sections.