// Returns whether the button is currently pressed public bool InputActive() { // For now, we assume user index = 0. ControllerState state = ControllerInput.GetState(0); return(state.ButtonStatus(button)); }