[GH-ISSUE #612] Problem with xinput configuration, it is not remembered. #86

Closed
opened 2026-03-03 13:45:34 +03:00 by kerem · 1 comment
Owner

Originally created by @williansti on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/gopher64/gopher64/issues/612

We have an issue with input specifically in the settings with Xbox controllers using Xinput; I don't know if this occurs with other controllers, that's the problem.

I use Xbox Series X controllers connected via Bluetooth; there are four controllers in total. With all of them connected, I opened Gopher64 and, in Controller Config > Controller, selected each of the four in their respective fields.

So far everything is fine and working normally, so I closed the emulator and let's check the config.json file.

Image

Here we see the 4 controllers configured correctly, and even the 4 Xbox profiles with buttons that I remapped are also perfectly configured.

Image

I've now disconnected 3 controllers, leaving only 1 connected, and reopened the emulator. Note that the 4 profiles are correctly remembered, but the other 3 controls were forgotten; only 1 remains configured.

Image

I've now disconnected all 4 controllers and reopened the emulator. Note that the profiles are remembered, but now all 4 controllers have been forgotten. This is terrible, because if you don't keep all 4 controllers connected, they are simply forgotten. You need to see what's happening with SDL/Xinput in this emulator. Other projects like Flycast, Dolphin, Duckstation, Ymir, Ares, PCSX2, among others, manage to remember the configured controllers.

Originally created by @williansti on GitHub (Nov 7, 2025). Original GitHub issue: https://github.com/gopher64/gopher64/issues/612 We have an issue with input specifically in the settings with Xbox controllers using Xinput; I don't know if this occurs with other controllers, that's the problem. I use Xbox Series X controllers connected via Bluetooth; there are four controllers in total. With all of them connected, I opened Gopher64 and, in Controller Config > Controller, selected each of the four in their respective fields. So far everything is fine and working normally, so I closed the emulator and let's check the config.json file. <img width="2189" height="1400" alt="Image" src="https://github.com/user-attachments/assets/39e5b4a9-462e-4da3-96b5-35c2863e8a66" /> Here we see the 4 controllers configured correctly, and even the 4 Xbox profiles with buttons that I remapped are also perfectly configured. <img width="2186" height="1394" alt="Image" src="https://github.com/user-attachments/assets/13bd710c-37c2-48b6-a6d2-27ba3025c99b" /> I've now disconnected 3 controllers, leaving only 1 connected, and reopened the emulator. Note that the 4 profiles are correctly remembered, but the other 3 controls were forgotten; only 1 remains configured. <img width="2189" height="1407" alt="Image" src="https://github.com/user-attachments/assets/6a80f371-69eb-4ada-a6fd-d82b7eac3c35" /> I've now disconnected all 4 controllers and reopened the emulator. Note that the profiles are remembered, but now all 4 controllers have been forgotten. This is terrible, because if you don't keep all 4 controllers connected, they are simply forgotten. You need to see what's happening with SDL/Xinput in this emulator. Other projects like Flycast, Dolphin, Duckstation, Ymir, Ares, PCSX2, among others, manage to remember the configured controllers.
kerem closed this issue 2026-03-03 13:45:34 +03:00
Author
Owner

@loganmc10 commented on GitHub (Nov 7, 2025):

Yes I understand the problem. Basically, when you open the emulator and there isn't a controller connected, the dropdown defaults to "None", and when you close the emulator, that is what is saved to the settings file, rather than the last connected controller. It would be better for it to keep the last connected controller in the settings.

<!-- gh-comment-id:3501116090 --> @loganmc10 commented on GitHub (Nov 7, 2025): Yes I understand the problem. Basically, when you open the emulator and there isn't a controller connected, the dropdown defaults to "None", and when you close the emulator, that is what is saved to the settings file, rather than the last connected controller. It would be better for it to keep the last connected controller in the settings.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gopher64#86
No description provided.