Example #1
0
        /// <summary>
        /// Initializes the input system by instantiating the driver with the given
        /// InputTypeID.  The input driver must be registered with the Registrar
        /// class.
        /// </summary>
        /// <param name="inputType"></param>
        public static void Initialize(InputTypeID inputType)
        {
            Core.Initialize();

            impl = Registrar.CreateInputDriver(inputType);
            impl.Initialize();

            InitializeJoysticks();
        }