IInputContext.IsAnyGamepadButtonPressedOnAny(int) Method
Definition
Namespace: Brine2D.Input
Returns true if any gamepad button was pressed this frame on any connected gamepad. Useful for multiplayer "press any button to join" lobbies. The gamepadIndex output indicates which gamepad pressed a button, or -1 if none did.
Parameters
gamepadIndex System.Int32