Emulator Issues #9543
closedFeature Request: Provide a way for third-party programs to access controller inputs via libusb
0%
Description
Game Name?
Not game-specific
Game ID? (right click the game in the game list, properties, info tab)
N/A
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
N/A
What's the problem? Describe what went wrong.
Padpyght, an open-source gamepad visualization tool, can hook into generic gamepad drivers to display inputs in real time while playing on Dolphin. However, when using the official Nintendo adapter (ie Direct Connect), Dolphin uses libusb_claim_interface() and prevents Padpyght from being able to access controller inputs. Is it possible for Dolphin to open an interface to allow access to input data?
What steps will reproduce the problem?
N/A
Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
Tested on multiple builds of 4.0.
What are your PC specifications? (CPU, GPU, Operating System, more)
N/A
Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
A direct link to the comment on this issue in the Padpyght issue tracker, from the creator of Padpyght, can be found here: https://github.com/lifning/padpyght/issues/9#issuecomment-141880325
Other comments on that issue offer some background information on the topic.
Updated by mathieui over 8 years ago
- Issue type changed from Bug to Feature request
Updated by Mikemk over 8 years ago
I think this should be implemented as a custom driver, not as part of dolphin, as it would interfere with people using the mayflash adapter (eg: me)
Updated by leoetlino over 7 years ago
- Status changed from New to Invalid
This is impossible. Dolphin needs to claim the device to be able to communicate with it.
Updated by JosJuice over 7 years ago
It would be possible for us to create a new protocol that we use to send out copies of the controller inputs that we get from InputCommon. I'm not sure if we want to have that in Dolphin, though... If we get some kind of scripting functionality in Dolphin in the future, it should be possible to implement an interface like that in scripting instead.