bm336 Joystick

Controls


 

bm478         X coordinate of joystick

bm479         Y coordinate of joystick

bm480         Z coordinate of joystick

bm481         button 1 of joystick

bm482         button 2 of joystick

bm483         button 3 of joystick

bm484         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.