◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── JOYCAPS The JOYCAPS structure contains the fields describing the joystick capabilities. typedef struct joycaps_tag { UINT wMid; UINT wPid; char szPname[MAXPNAMELEN]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; } JOYCAPS; Fields WORD wMid Specifies the manufacturer ID of the joystick. WORD wPid Specifies the product identification of the joystick. char szPname[MAXPNAMELEN] Specifies the product name of the joystick. This information is stored as a null-terminated string. WORD wXmin Specifies the minimum x position value of the joystick. WORD wXmax Specifies the maximum x position value of the joystick. WORD wYmin Specifies the minimum y position value of the joystick. WORD wYmax Specifies the maximum y position value of the joystick. WORD wZmin Specifies the minimum z position value of the joystick. WORD wZmax Specifies the maximum z position value of the joystick. WORD wNumButtons Specifies the number of buttons on the joystick. WORD wPeriodMin Specifies the smallest polling interval supported when captured by joySetCapture. WORD wPeriodMax Specifies the largest polling interval supported when captured by joySetCapture. -♦-