func_input_joyroll.rst 374 B

123456789101112131415161718192021222324252627282930313233
  1. .. _func_input_joyroll:
  2. =======
  3. JoyRoll
  4. =======
  5. JoyRoll -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. JoyRoll#( port=0 )
  10. Reports the position of the joystick's ROLL 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. ========