1234567891011121314151617181920212223242526272829303132333435 |
- .. _func_input_joyu:
- ====
- JoyU
- ====
- JoyU -
- Description
- ===========
- .. code-block:: blitzmax
- JoyU#( port=0 )
- Reports the position of the joystick's U axis if supported.
- The U value of a joystick usually corresponds to a joystick's 'slider' or 'throttle' feature, although this may vary depending on the joystick, and will not be available with all joysticks.
- Parameters
- ==========
- Return Values
- =============
- Zero if the joystick is centered, -1.0 if Up, 1.0 if Down or a value inbetween.
- Examples
- ========
- See Also
- ========
|