jME 3.10.0-beta1
jMonkeyEngine Hub
June 9, 2026
I’m having trouble adapting my Dear ImGui integration to the new jME version. I’ve set the backend platform to SDL3, and everything displays correctly. However, ImGui does not receive any inputs. I discovered that it does receive inputs if I manually poll SDL events like this:
try (SDL_Event event = SDL_Event.calloc()) {
while (SDL_PollEvent(event)) {
implSdl3.processEvent(event.address());
}
}
So I need to pass SDL events to ImGuiImplSdl3.processEvent. But the events are already polled in LwjglWindow.pollEvents. If I poll them manually in my code, they will not be passed to jME. So, could we have some way to hook into LwjglWindow.pollEvents? This would probably resolve the issue.
Discussion in the ATmosphere