Upon construction, it detects the connected joysticks.
Captures a key for binding
Starts the TextInputEvent and disables the polling of normal input events.
Stops the TextInputEvent and enables the polling of normal input events.
Polls for events. If there's any, calls the eventlisteners.
Sets wether to use the newer XInput over the older DirectInput.
Handles the events for the various input devices.