Dolphin, the GameCube and Wii emulator - Forums
Controller Issue Linux - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: Controller Issue Linux (/Thread-controller-issue-linux)

Pages: 1 2


Controller Issue Linux - GreenFireFly - 12-22-2015

Hello Everyone,

Every time i run dolphin-emu i have to constantly set the controller device otherwise the
controller does not work. I also noticed that Iterative Input does not save its state.

I'm running dolphin-20151218_e638775.tar.xz


RE: Controller Issue Linux - GreenFireFly - 12-22-2015

(12-22-2015, 08:42 AM)GreenFireFly Wrote: Hello Everyone,

Every time i run dolphin-emu i have to constantly set the controller device otherwise the
controller does not work. I also noticed that Iterative Input does not save its state.

I'm running dolphin-20151218_e638775.tar.xz

Here is a screen shot of the configure controller screen. You can see the device is evdev/0/GreenAsia Inc.
You also see that the red dots that are usually there  on the main stick and c stick are no showing up. I cannot just
hit the refresh in device section. I have to click on the drop down menu to set the controller to
/evdev/0/GreenAsia Inc, even though it's showing up set to /evdev/0/GreenAsia Inc. Also the only
setting that does not save it state is  Iteractive Input.

[Image: dolphin_png.png]


RE: Controller Issue Linux - leolam - 12-23-2015

Fixed image:
[Image: 9lnUNN6.png]

Unfortunately, I've never had that issue, so I cannot help you… but is the device plugged in before or after starting Dolphin?


RE: Controller Issue Linux - GreenFireFly - 12-23-2015

(12-23-2015, 02:29 AM)leolam Wrote: Fixed image:
[Image: 9lnUNN6.png]

Unfortunately, I've never had that issue, so I cannot help you… but is the device plugged in before or after starting Dolphin?

Hello Lleolam,

I have the controller plugged in before starting dolphin.


RE: Controller Issue Linux - leolam - 12-23-2015

To confirm if your settings are the same after reselecting the device, can you save the configuration (by typing a name under "Profile" then clicking on Save), then close Dolphin, reopen Dolphin, reselect the device, then save the configuration under another name, then:

Code:
diff --unified ~/.dolphin-emu/Config/Profiles/GCPad/*.ini

to check for differences.


RE: Controller Issue Linux - GreenFireFly - 12-23-2015

(12-23-2015, 02:38 AM)leolam Wrote: To confirm if your settings are the same after reselecting the device, can you save the configuration (by typing a name under "Profile" then clicking on Save), then close Dolphin, reopen Dolphin, reselect the device, then save the configuration under another name, then:

Code:
diff --unified ~/.dolphin-emu/Config/Profiles/GCPad/*.ini

to check for differences.

Hello Leolam,

I'm assuming your comparing it to the GCPadNew.ini.

diff --unified ~/.config/dolphin-emu/Profiles/GCPad/*.ini ~/.config/dolphin-emu/GCPadNew.ini

This is the ouput i got.

-[Profile]
+[GCPad1]
Device = evdev/0/GreenAsia Inc. USB Joystick
Buttons/A = `Button 2`
Buttons/B = `Button 1`

I did not change Device,Button A or Button B. So i don't know why there is a difference.


RE: Controller Issue Linux - leolam - 12-23-2015

Actually that output means that there is only one difference, the [Profile] which becomes [GCPad1]… the Device and the rest do not change (there's no - or + in front of those lines, just spaces). If you try to load the profile you saved instead of selecting the device manually, does it work?


RE: Controller Issue Linux - GreenFireFly - 12-23-2015

(12-23-2015, 07:20 AM)leolam Wrote: Actually that output means that there is only one difference, the [Profile] which becomes [GCPad1]… the Device and the rest do not change (there's no - or + in front of those lines, just spaces). If you try to load the profile you saved instead of selecting the device manually, does it work?

No loading the profile does not get the controller to work. The only thing that gets the controller working is reselecting the device from the drop menu.

Here is a screenshot GCPad and GCPADNew.


[Image: dolphin_emu.jpg]


RE: Controller Issue Linux - leolam - 12-23-2015

Hmm, that means the device is virtually the same in the config files… Maybe the device name somehow does not get saved to the config files correctly? Sorry but I am out of ideas…


RE: Controller Issue Linux - leolam - 12-23-2015

While I do not have the controller device issue, I can confirm that Iterative Input does not get saved to the config file (so it does not persist). Is this a bug?

EDIT: I am not too sure, but it looks like it's ignored on purpose when loading/saving a config