I have a high score table and on the PC it works fine, if you get a high enough score you get to type your name in. When you press Return the name is taken, the table flashes a few colours and a sound is played. Very nice.
On Android I pop open a mobile keyboard to collect your name:
This works fine, I get to type the name no trouble. Now on the virtual keyboard there is no Return button, but there is a button in the bottom-right marked ‘Go’. I press that, the virtual keyboard disappears but my ‘Return key is pressed’ action is not triggered:
At this point, the game is still expecting text to be entered but the virtual keyboard has disappeared and there’s nothing you can do.
Have I done something wrong? How do I correctly detect that the Return key has been pressed on a mobile virtual keyboard?