First post, by tomaswoj
Hi All,
im porting Dosbox to Android (yes, yet another port 😀), and seems that in some cases/situations keyboard events tends to be ignored, while in others they work perfectly fine.
It is especially vivid for example in Doom/Wolfenstein, where arrow keys in game menu work perfectly fine, while looks they are ignored in game (i.e. i cannot move in game using arrow keys). I have a CPU load meter, and cycles are set to the level, that im usually at 95-98% CPU saturation, so its not that whole app gets inresponsible. Also steering using mouse seems to work quite smoothly.
Another case is startup of some games (like Ishar, or North and South), where on PC any Spacebar press will skip some splash screens/intros, but when i run it on the phone (exactly the same dosbox version) - i need to wait until they end, and cannot escape them.
On the contradict, these buttons work perfectly fine when testing them for example in DosNavigator on the very same phone.
Any suggestions?
Can it be that when emulator is heavily loaded, key dispatching needs to be done witihin some time limit, and otherwise they [key events] will be dropped?