◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── JOYINFO The JOYINFO structure contains fields for storing joystick position and button state information. typedef struct joyinfo_tag { UINT wXpos; UINT wYpos; UINT wZpos; UINT wButtons; } JOYINFO; Fields WORD wXpos Specifies the current x-position of joystick. WORD wYpos Specifies the current y-position of joystick. WORD wZpos Specifies the current z-position of joystick. WORD wButtons Specifies the current state of joystick buttons. It can be any combination of the following bit flags: JOY_BUTTON1 Set if button 1 is pressed. JOY_BUTTON2 Set if button 2 is pressed. JOY_BUTTON3 Set if button 3 is pressed. JOY_BUTTON4 Set if button 4 is pressed. -♦-