You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to hold onto the status of the connected gamepads, specifically from startup. If you connect a controller and then run 2ship, for instance, on line 774 of imgui_impl_sdl2.cpp shows bd->Gamepads.Size of 1. If you then disconnect that controller, bg->Gamepads.Size remains at a size of 1 until closing. If, however, you start 2ship without any controllers connected, that same line shows a size of 0, and that will remain 0 no matter how many controllers you then connect.
This then presents a problem with menu navigation. In the first scenario, all controller menu functionality is working, and continues to work across disconnects. In the second scenario, though, the menu never responds. The controller must be connected on startup for ImGui to update the ImGui key structures going forward for that session.
The text was updated successfully, but these errors were encountered:
This behavior also is only applicable to OpenGL and the SDL backend. DirectX's backend has no issues with this, however non-XInput controllers seem unresponsive entirely on DirectX backend with the new menu, and the other fixes don't seem to make a difference. Will continue to document and check back later.
It seems to hold onto the status of the connected gamepads, specifically from startup. If you connect a controller and then run 2ship, for instance, on line 774 of
imgui_impl_sdl2.cpp
showsbd->Gamepads.Size
of 1. If you then disconnect that controller,bg->Gamepads.Size
remains at a size of 1 until closing. If, however, you start 2ship without any controllers connected, that same line shows a size of 0, and that will remain 0 no matter how many controllers you then connect.This then presents a problem with menu navigation. In the first scenario, all controller menu functionality is working, and continues to work across disconnects. In the second scenario, though, the menu never responds. The controller must be connected on startup for ImGui to update the ImGui key structures going forward for that session.
The text was updated successfully, but these errors were encountered: