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; }
public void StartListening(Ple_GameWindow context) { _context = context; _thread.Start(); return; }