Add low-level hook for SDL3 input events#2867
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the SdlEventListener interface to allow custom listeners to receive raw SDL events, and updates SdlJoystickInput, SdlKeyInput, and SdlMouseInput to implement it. LwjglWindow is updated to manage these listeners and dispatch events. The feedback suggests wrapping the custom listener event dispatch loop in a try-catch block to prevent any unhandled exceptions from interrupting the dispatching of events to subsequent listeners and internal input handlers.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Resolves #2864