Any chances that it is possible to get access to the escape key? I'm sure I've read somewhere about a keyboard hack (similar to mouse) but I am unable to find it.
Hey Johan
Are you interested in the escape key in particular, or the menu button in general? It is possible to read the menu button state with btn(6), but there is no way to stop the menu from coming up.
Otherwise, there isn't any way to get keyboard state from standard PICO-8, but if you're making something to be exported as HTML, gpio could be used to communicate key events.
Yeah, that's the only key I care about. :)
If I understand the manual for gpis correct, I just need to assign values to the pico8_gpio array from javascript and then read the memory from pico?
[Please log in to post a comment]