How can I run a game on Android virtu keyboard? What is the keyboard command?
A lua fantasy computer · By
Hey, Nice to see you here !
It's pretty simple to do, call this anywhere in your game:
Controls("keyboard")
And the keyboard controls would be enabled, and incase if the user closed the keyboard you will have to re-open it for him, best by doing:
--Will make the keyboard open whenever the user touches the screen function _touchpressed() textinput(true) end
To get the keyboard input check _textinput, _keypressed, _keyreleased and Keyboard/isKDown in the online documentation: http://liko12.readthedocs.io/