func_input_joyv.rst 544 B

1234567891011121314151617181920212223242526272829303132333435
  1. .. _func_input_joyv:
  2. ====
  3. JoyV
  4. ====
  5. JoyV -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. JoyV#( port=0 )
  10. Reports the position of the joystick's V axis if supported.
  11. The V 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.
  12. Parameters
  13. ==========
  14. Return Values
  15. =============
  16. Zero if the joystick is centered, -1.0 if Up, 1.0 if Down or a value inbetween.
  17. Examples
  18. ========
  19. See Also
  20. ========