public override void Initialize() { base.Initialize(); input = Services.GetService <InputManager>(); input.TextInput?.EnabledTextInput(); graphicsDeviceService = Services.GetService <IGraphicsDeviceService>(); }
internal static void Initialize(StrideInputManager input) { if (!initialized) { initialized = true; // Setup the engine's input manager ref StrideInputManager = input; } }
private IGamePadDevice GetGamePad(InputManager manager) { return(PadIndex >= 0 ? manager.GetGamePadByIndex(PadIndex) : manager.DefaultGamePad); }
public override void Initialize(InputManager inputManager) { }