JOYINFO Type
Type JOYINFO
wXpos As Long
wYpos As Long
wZpos As Long
wButtons As Long
End Type
JOYINFO-type variables hold the current position of a joystick. This type can store the positions of the x, y, and z axes, and also the buttons pushed.
- wXpos
- The current x-axis coordinate.
- wYpos
- The current y-axis coordinate.
- wZpos
- The current z-axis coordinate.
- wButtons
- The buttons being pushed. AND the value with 1 to check for button #1, with 2 for button #2, 4 for button #3, 8 for button #4, etc.
Used by: joyGetPos
Back to the index.
Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/types/joyinfo.html