Emulator Issues #13008
openDuplicate controllers due to multiple controller API's
0%
Description
What's the problem? Describe what went wrong.
With the introduction of Windows Gaming Input and SDL, there are now 4 game controller API's for Windows. Besides cluttering the devices selection, it also completely negates the usefulness of the "All devices" option. When using a DS4 and selecting "All devices", I now get a SDL, WGI and Dinput input registered.
What steps will reproduce the problem?
Plug in a controller and look at the device selection drop down and try to use the "All devices option".
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Since the introduction of SDL and WGI on Windows.
What are your PC specifications? (CPU, GPU, Operating System, more)
W11 and a Dualshock 4.
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
I adressed this problem in the WGInput pull request: https://github.com/dolphin-emu/dolphin/pull/7614#issuecomment-795639617
With Windows 7 and 8 support removed, I think it is time to phase out Dinput and Xinput in favour of WGinput and a modern keyboard and mouse API, and SDL for motion controls. I think making X/Dinput toggable in "Alternate Input Sources" just like DSU would make a good solution for now (or even for the long term) and new Dolphin installs can default on X/Dinput being disabled.