func_input_joyz.rst 353 B

123456789101112131415161718192021222324252627282930313233
  1. .. _func_input_joyz:
  2. ====
  3. JoyZ
  4. ====
  5. JoyZ -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. JoyZ#( port=0 )
  10. Reports the position of the joystick's Z axis if supported.
  11. Parameters
  12. ==========
  13. Return Values
  14. =============
  15. Zero if the joystick is centered, -1.0 if Up, 1.0 if Down or a value inbetween.
  16. Examples
  17. ========
  18. See Also
  19. ========