func_input_joyhit.rst 443 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. _func_input_joyhit:
  2. ======
  3. JoyHit
  4. ======
  5. JoyHit -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. JoyHit( button,port=0 )
  10. Check for a joystick button press
  11. The returned value represents the number of the times @button has been hit since
  12. the last call to #JoyHit with the same specified @button.
  13. Parameters
  14. ==========
  15. Return Values
  16. =============
  17. Number of times @button has been hit.
  18. Examples
  19. ========
  20. See Also
  21. ========