ANDROID: Fix for buggy backspace behavior in TYPE_NULL inputType
Code taken from https://stackoverflow.com/a/19980975
This commit is contained in:
parent
303d4681f0
commit
bf54ea041b
4 changed files with 281 additions and 13 deletions
|
@ -89,6 +89,7 @@ void OSystem_Android::pushEvent(int type, int arg1, int arg2, int arg3,
|
|||
// map special keys to 'our' ascii codes
|
||||
switch (e.kbd.keycode) {
|
||||
case Common::KEYCODE_BACKSPACE:
|
||||
LOGD("received BACKSPACE");
|
||||
e.kbd.ascii = Common::ASCII_BACKSPACE;
|
||||
break;
|
||||
case Common::KEYCODE_TAB:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue