erkyrath / quixe

A Glulx VM interpreter written in Javascript
http://eblong.com/zarf/glulx/
MIT License
169 stars 33 forks source link

Support char input on mobile devices #36

Open cibersheep opened 6 years ago

cibersheep commented 6 years ago

OSK sends 229 on all keys (except delete, return vol+, vol-) so when asked for «press Space to continue» or to navigate on certain help menus, the user gets stuck. With this little hack, on keycode 229, we read the first letter of the input.