.. _func_input_joyhit: ====== JoyHit ====== JoyHit - Description =========== .. code-block:: blitzmax JoyHit( button,port=0 ) Check for a joystick button press The returned value represents the number of the times @button has been hit since the last call to #JoyHit with the same specified @button. Parameters ========== Return Values ============= Number of times @button has been hit. Examples ======== See Also ========