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

Some Unhandled SDL event codes #2308

Open
Bloodknight opened this issue Feb 4, 2019 · 2 comments
Open

Some Unhandled SDL event codes #2308

Bloodknight opened this issue Feb 4, 2019 · 2 comments

Comments

@Bloodknight
Copy link
Contributor

darkprincipality_debug_2019-02-04_02-54-34

I tried to chase these down but i dont know where else to look.

the 0x0302 usually only pops up the once when the console key is hit.

the 0x0900 popped up when selecting messages with the mouse to turn off in the console

@EnjinGuest
Copy link

EnjinGuest commented Feb 4, 2019

0x0302 is the SDL_TEXTEDITING event. That would be where to hook in to display a software keyboard if using VR or Steam Big Picture. There is no need for the stock engine to take action based on that event.
0x0900 is SDL_CLIPBOARDUPDATE. Was that one in response to a copy operation? All of the event codes can be found in this table: https://github.com/GarageGames/Torque3D/blob/development/Engine/lib/sdl/include/SDL_events.h#L55.
If you scroll to the bottom of this commit, 77a3160, You'll see why those messages are appearing now. It was a mistake to change that from a printf to a warnf.

@Bloodknight
Copy link
Contributor Author

ahh, i was searching explicitly explains why that didn't work

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

No branches or pull requests

2 participants