Is there a way to listen to keypress events on the keyboard?
I’ve added [lua]print( "KB EVENT: " … event.phase )[/lua] into my text field handler but only see the began, ended, submitted phases. Nothing appears in there as I tap the keyboard keys.
There is no “return” button on the numeric keyboard so I want to dismiss the keyboard automatically after the user has keyed in a 4 digit number by checking [lua]if txtField.text == 4 then hideKB()[/lua] [import]uid: 11393 topic_id: 4552 reply_id: 304552[/import]
[import]uid: 97768 topic_id: 4552 reply_id: 86857[/import]