public Boolean CenterPos() { // Mouse. if (mouseScreenInput.LeftButtonHold()) { Boolean test = controlManager.CheckCenterPos(mouseScreenInput.MousePosition); if (test) { return(true); } } // Joystick. if (joystickInput.JoyHoldAll(Buttons.A)) { return(true); } // Keyboard. if (keyboardInput.KeyHold(Keys.Space)) { return(true); } return(false); }