Beispiel #1
0
        public static void Start(Ple_GameWindow context)
        {
            _instance       = _instance ?? new GamepadListener();
            _gamepadDevices = new List <GamepadDevice>();

            GetGamepadDevices();

            foreach (GamepadDevice gd in _gamepadDevices)
            {
                gd.StartListening(context);
            }

            return;
        }
Beispiel #2
0
 public void StartListening(Ple_GameWindow context)
 {
     _context = context;
     _thread.Start();
     return;
 }