ANDROID: Fix for buggy backspace behavior in TYPE_NULL inputType

Code taken from https://stackoverflow.com/a/19980975
This commit is contained in:
antoniou 2020-10-01 00:05:01 +03:00
parent 303d4681f0
commit bf54ea041b
4 changed files with 281 additions and 13 deletions

View file

@ -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: