LIJI32 / SameBoy

Game Boy and Game Boy Color emulator written in C
https://sameboy.github.io/
Other
1.58k stars 205 forks source link

Controller not detected if connected while SameBoy is running. #563

Closed aljohnston112 closed 6 months ago

aljohnston112 commented 10 months ago

Controller works fine if the controller is connected while SameBoy is running. Kind of annoying when your controller disconnects sometimes.

carmiker commented 7 months ago

@aljohnston112 if you are referring to the SDL build, I have the answers on a silver platter right here: https://github.com/carmiker/sdl2-hotplug-example If you're talking about macOS then I do not have the answers.

LIJI32 commented 7 months ago

Correct me if I'm wrong, I'm not sure I understand the issue correctly. Your issue is that on the non-Mac version, the controller does not work if it has been disconnected and reconnected again?