/// <summary> /// ctor /// </summary> /// <param name="game">Game associated with the manager</param> public InputHandlerService(Game game) : base(game) { KeyboardManager = new KeyboardStateManager(game); GamePadManager = new GamePadManager(game); #if WINDOWS MouseManager = new MouseStateManager(game); #endif #if WINDOWS_PHONE AccelerometerManager = new AccelerometerManager(game); TouchManager = new TouchCollectionManager(game); GamePadManager = new GamePadManager(game); #endif //#if XBOX // GamePadManager = new GamePadManager(game); //#endif }