◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── JDD_GETPOS This message is sent to get the current joystick position and button state information. LONG lParam1 Specifies a far pointer to a JOYINFO structure. LONG lParam2 Not used. Return value Return MMSYSERR_NOERROR if the driver successfully retrieves the information. Return JOYERR_UNPLUGGED if the joystick is unplugged. Comments The coordinate values returned in the JOYINFO structure should be mapped into the coordinate range identified by the driver. The minimum and maximum values for each axis are defined in the JOYCAPS structure, which your driver fills out in response to the JDD_GETDEVCAPS message. -♦-