The DriverProc function for a joystick driver handles the following joystick-specific messages:
Supply the device capabilities.
Supply the number of joystick devices supported by the hardware.
Supply the position of the stick and the state of the buttons.
Adopt new calibration settings.
These joystick-specific messages are described in the following sections.