Joystick |
X coordinate of joystick
Y coordinate of joystick
Z coordinate of joystick
button 1 of joystick
button 2 of joystick
button 3 of joystick
button 4 of joystick
As an element parameter a joystick number ranging between 0 and 3 be specified. If no specification is done, then default joystick number 0 will be used.
The coordinate of joystick elements specify the joystick current position between -1 and +1, 0 being the central position. The button of joystick elements define the pressing condition of the joystick button. If depressed, they return the logic flag of validity.
Note: During the program run the inalterability of the joystick data is ensured till the next moment of the waiting service.
Full Html Context Help of The Peter - Gemtree Software & Children Programming