You will need to put keyboard scanning inside this loop on your own. see love.run essentially you just need to copy the event pump and call parts. Yep! I've had high hopes it's possible to fix Love2D or emulator to avoid fixing the games ("the cartridges") itself, but do not see the easy ...
About separate thread scanning keyboard: Love have some multi-thread support https://love2d.org/wiki/love.thread , but it is rather poor. And the wiki says that: ...love.keyboard, love.mouse, and love.touch modules have several restrictions and therefore can only be used in the main thread. So, may...
I'm trying to find the way not to block love.keypressed() callback having this loop in main thread of PICO-8 emulator: while(true) do if (btn(❎)) then sfx(30) return end end Not sure, is it possible to have a separate thread scanning keyboard / controller and filling all data for pressed keys in the...