public GameController(IInputDevice directInput, InputMapper mapper) { inputDevice = directInput; this.mapper = mapper; mapper.Attach(inputDevice); xOutputInterface = createXOutput(); xInput = new XOutputDevice(directInput, mapper); if (mapper.SelectedDPad == -1 && directInput.DPads.Any()) { mapper.SelectedDPad = 0; } running = false; }