/// <summary> /// Initialize the manager /// </summary> public JoystickManager() { ConnectedJoystick = new bool[MaxJoystickNumber]; JoystickReaders = new JoystickReader[MaxJoystickNumber]; for (int i = 0; i < MaxJoystickNumber; i++) { ConnectedJoystick[i] = false; JoystickReaders[i] = new JoystickReader(i); } Scan(); }