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 doesn't look like there's a high-level binding for SDL_PushEvent (despite there being a low-level one)
It looks like there's high-level support for pushing user-defined events, but not for pushing vanilla SDL events.
There's also no easy way to use the low-level one since afaict, there's no high->low conversion for Events.
I think this would be a generally useful addition. For instance, I could imagine library code for a virtual keyboard/gamepad that handled touchscreen events and pushed synthetic keyboard/joystick events which were then handled without knowledge of the touchscreen layer.
The text was updated successfully, but these errors were encountered:
It doesn't look like there's a high-level binding for
SDL_PushEvent
(despite there being a low-level one)It looks like there's high-level support for pushing user-defined events, but not for pushing vanilla SDL events.
There's also no easy way to use the low-level one since afaict, there's no high->low conversion for Events.
I think this would be a generally useful addition. For instance, I could imagine library code for a virtual keyboard/gamepad that handled touchscreen events and pushed synthetic keyboard/joystick events which were then handled without knowledge of the touchscreen layer.
The text was updated successfully, but these errors were encountered: