Exemplo n.º 1
0
        public static bool AnyInput(GamepadIndex gamepad)
        {
            PrintMissingAdapterWarningIfNecessary();

            GamepadStateService service = InputManager.GetService <GamepadStateService>();

            return(service != null?service.AnyInput(gamepad) : false);
        }
Exemplo n.º 2
0
        public static bool AnyInput()
        {
            KeyboardStateService service = InputManager.GetService <KeyboardStateService>();

            return(service != null ? service.AnyInput : false);
        }