Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High-level bindings to PushEvent #225

Open
ramirez7 opened this issue Jan 5, 2021 · 0 comments
Open

High-level bindings to PushEvent #225

ramirez7 opened this issue Jan 5, 2021 · 0 comments

Comments

@ramirez7
Copy link

ramirez7 commented Jan 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants