Emulator Issues #6047
closedXInput Hotplug doesn't work
0%
Description
What went wrong?
Launch game with an xinput device configured, but not connected (such as a powered off wireless 360 controller). Turn on the controller after the game has started.
What did you expect to happen?
Controller should be usable in game.
What actually happened?
Controller is unusable, but can be fixed by simply pressing "Refresh" in the GC input dialog.
What version of Dolphin were you using?
3.5-367 64-bit
What Operating System were you using and what are your hardware
specifications?
Windows 7 64-bit
Updated by Anonymous over 11 years ago
Possible patch: https://github.com/sonicsnes/dolphin-emu/commit/947d3acb3404e8b13753345decd677df9b220b99
It may be a little bit unsophisticated, but it certainly gets the job done. For people who want drop in / out support, I don't see why it needs to be any more complicated than that.
Updated by Anonymous over 11 years ago
- For those of you who like actual patches:
https://github.com/sonicsnes/dolphin-emu/commit/947d3acb3404e8b13753345decd677df9b220b99.patch
Updated by Anonymous over 11 years ago
@rachelbryk I completely agree. However, it works for me, and perhaps it may work for someone else. Whether or not it winds up in a build is up to you :)
Updated by skidau over 11 years ago
- Issue type set to Feature request
This is more of an enhancement request. Although possible, most applications do not support hot-plugging of game controllers.
Updated by thraseapeatus over 11 years ago
Most PC Games that utilize Xinput do support Hot-Plugging, Plug the 360 Controller in,
and it Auto-detects.
The Gamecube as 4 Controller Ports and the 360 Controller as 4 Quadrants, so maybe they can be Synced Together
So if 360 Controller 1 runs out of power and turns off, The Gamecube Port 1 gets unplugged , and plugging in Second 360 Controller in-game , Port-2 becomes "Standard Controller".
And Since the Gamecube Controller and 360 Controller have near-identical Layout, A Default Profile could be created.
The Mice-Input on the 360 Controller could also be used for the Gamecube/Mice.
Updated by shinra35888 over 11 years ago
I agree with this request. I was just about to post this same issue just now until I saw that it was already made. PCSX2 does this by the way (with the pokopom input plugin. Also with NullDC and EPSXE with the same plugin. This is also needed for Metal Gear Twin Snakes for gamecube to fight psycho mantis and to not have the game be ruined if someone accidentally knocks the controller out of the usb slot.
Updated by shinra35888 over 11 years ago
I just got dolphin-master-3.5-1504-x64 and it seems like a bit of this functionality exists now. A few notes:
-During game, unplugging and replugging works (xinput controller)
-Starting dolphin, unplugging and replugging, and then starting the game works.
-If I start dolphin and then unplug the controller and then start the game and lastly plugging the controller back in, the first time dolphin will crash but every time after that, the controller won't work anymore.
-Starting the emulator without the controller being plugged in, starting a game, and then plugging it in afterward doesn't work.
-Starting the emulator without the controller being plugged in and then plugging it in afterward before starting a game works.
In the link to issue 6313 , snes9x also has the controller to be added after the emulator is started or before (anytime) just like the real console. This is for game preservation purposes and it is very convenient. Only a small few of the top emulators lack this feature nowadays. If I remember correctly, the only console that didn't have this feature was the N64.
Edited for correction.
Updated by shinra35888 over 11 years ago
only with xinput i guess. i use to play with dinput but now i'm with xinput. the snes9x link does it with both.
Updated by scientificraver over 11 years ago
Using snes9x or pcsx-reloaded, the xinput controller does not need to be connected before starting the emulator which would be a really nice to have feature for Dolphin.
Updated by instrospark about 11 years ago
I think this relates to the same problem I am having.
I have built an arcade console with multiple options for game controls.
An Xbox 360 wireless controller, an x-arcade tank stick and a Logitech g27 steering wheel.
I have them all mapped for wii and gamecube games in a single profile so I can go between racing games (steering wheel) to normal controlled games using the Xbox controller or the tank stick without having to change profiles all the time (I launch through a front end), however the wheel and tank stick do not work unless I switch on the Xbox 360 wireless controller prior to launching Dolphin.
It would be great if I did not have to switch that on for the other controllers / wheel to work.
I'm using Windows 7 x64, i7-3770k, Asus GTX 660 Ti, 16gb Ram, dolphin 3.5-1747
Updated by skidau almost 9 years ago
- Has duplicate Emulator Issues #9079: Controllers only work when they're plugged before the emulator starts added
Updated by leoetlino over 7 years ago
- Blocks Emulator Issues #6997: Support Hotplug added
Updated by leoetlino over 6 years ago
- Status changed from New to Fix pending
- Operating system Windows added
- Operating system deleted (
N/A)
Updated by Billiard26 almost 6 years ago
- Status changed from Fix pending to Duplicate
Issue 6997 is a generic "Hotplug" feature request.
Updated by JosJuice almost 6 years ago
- Status changed from Duplicate to Fix pending
I think it's useful to keep this issue since it's more specific.
Updated by Billiard26 almost 6 years ago
- Related to Emulator Issues #11323: Some games (e.g. Mario Kart Wii) are not properly informed about controller removal added
Updated by Billiard26 over 5 years ago
- Status changed from Fix pending to Fixed
- Fixed in set to 5.0-9869
Updated by Billiard26 over 5 years ago
- Related to deleted (Emulator Issues #11323: Some games (e.g. Mario Kart Wii) are not properly informed about controller removal)