Project

General

Profile

Actions

Emulator Issues #6047

closed

XInput Hotplug doesn't work

Added by Anonymous almost 12 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Controls
% Done:

0%

Operating system:
Windows
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-9869

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


Related issues 3 (0 open3 closed)

Has duplicate Emulator - Emulator Issues #6313: Feature request: detect gamepad changes Duplicate

Actions
Has duplicate Emulator - Emulator Issues #9079: Controllers only work when they're plugged before the emulator startsDuplicate

Actions
Blocks Emulator - Emulator Issues #6997: Support HotplugFixedSonicadvance1

Actions
Actions #1

Updated by Anonymous almost 12 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.

Actions #3

Updated by rachelbryk almost 12 years ago

That's a really silly hack.

Actions #4

Updated by Anonymous almost 12 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 :)

Actions #5

Updated by skidau almost 12 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.

Actions #6

Updated by thraseapeatus almost 12 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.

Actions #7

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.

Actions #8

Updated by skidau over 11 years ago

Issue 6313 has been merged into this issue.

Actions #9

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.

Actions #10

Updated by rachelbryk over 11 years ago

It's always been that way...

Actions #11

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.

Actions #12

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.

Actions #13

Updated by MayImilae over 11 years ago

  • Category set to controls
Actions #14

Updated by instrospark over 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

Actions #15

Updated by skidau almost 9 years ago

  • Has duplicate Emulator Issues #9079: Controllers only work when they're plugged before the emulator starts added
Actions #16

Updated by JosJuice over 8 years ago

  • % Done changed from 100 to 0
Actions #17

Updated by leoetlino over 7 years ago

Actions #18

Updated by leoetlino almost 7 years ago

  • Status changed from New to Fix pending
  • Operating system Windows added
  • Operating system deleted (N/A)
Actions #19

Updated by Billiard26 about 6 years ago

  • Status changed from Fix pending to Duplicate

Issue 6997 is a generic "Hotplug" feature request.

Actions #20

Updated by JosJuice about 6 years ago

  • Status changed from Duplicate to Fix pending

I think it's useful to keep this issue since it's more specific.

Actions #21

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
Actions #22

Updated by Billiard26 over 5 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-9869
Actions #23

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)
Actions

Also available in: Atom PDF