func_input_joyx.rst 341 B

123456789101112131415161718192021222324252627282930313233
  1. .. _func_input_joyx:
  2. ====
  3. JoyX
  4. ====
  5. JoyX -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. JoyX#( port=0 )
  10. Reports the horizontal position of the joystick.
  11. Parameters
  12. ==========
  13. Return Values
  14. =============
  15. Zero if the joystick is centered, -1 if Left, 1 if Right or a value inbetween.
  16. Examples
  17. ========
  18. See Also
  19. ========