The DriverProc function for a joystick driver handles the following joystick-specific messages:
JDD_GETDEVCAPS JDD_GETNUMDEVS JDD_GETPOS JDD_GETPOSEX JDD_SETCALIBRATION