Menu

#71 getKeyStates returns incorrect states after TextBox

open
nobody
5
2008-01-09
2008-01-09
Anonymous
No

We're using getKeyStates() for movement in our game. However, we've decided that textinput should be done with the native widgets (T9 etc).
When closing the TextBox, getKeyStates() keeps returning the states of when it was called (in our case, that's GAME_A_PRESSED). If you then pres GAME_A again, it will reset.

This is annoying. A solution for us could be to trigger the TextBox when someone releases GAME_A again, but that's not the point.

Discussion


Log in to post a comment.