Log In  

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.

P#42179 2017-07-04 10:55 ( Edited 2017-07-04 17:29)

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.

P#42180 2017-07-04 12:40 ( Edited 2017-07-04 16:40)

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?

P#42181 2017-07-04 13:29 ( Edited 2017-07-04 17:29)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 08:59:51 | 0.006s | Q:12