JDD_GETPOS

JDD_GETPOS
lpJoyInfo = (LPJOYINFO)lParam1;
lParam2 = 0;
 

Fills a JOYINFO structure with current joystick position and button status information.

lpJoyInfo
Address of the JOYINFO structure to hold the current position and button status information.

Position information returned in the JOYINFO structure should be mapped into the coordinate range identified by the driver. Minimum and maximum values for each axis are defined in the JOYCAPS structure, which the driver fills out in response to the JDD_GETDEVCAPS message.

See Also

JOYINFO, JOYCAPS, JDD_GETDEVCAPS