-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Unclear how to hookup text input with SDL #239
Comments
On a side note, when I'm done with all this I'd be happy to give you a pull request with the example SDL code so other's crazy like me don't have to go through the extra pain. |
The values are used as indices into the KeyDown[] away which is arbitrary 512 long. Recent SDL uses value with bit 30 set so that'll fail to be used as an index. Solution 1 Solution 2
And then update the io.KeysDown[] array using those as indices. Solution 3 There's already two PR for SDL. |
Well that example will be useful. SCANCODEs it is. |
Sorry I haven't merged an SDL example yet, I'm swamped. |
No Problem. It's documented, so someone else can find this bug report and get there. It you didn't make such a good library you wouldn't have this problem. :-) |
Added this code:
I get this assert:
Also, the application just crashes. Not really sure how to proceed.
The text was updated successfully, but these errors were encountered: