In short, this code works:
function _init() poke(0x5f2d,3) end function _update() if stat(30) then -- prints the pressed key local key=stat(31) printh(key) end end |
And this doesn't:
function _init() poke(0x5f2d,3) end function _update() if stat(30) then -- prints nothing, not even a blank line printh(stat(31) end end |
P#100846 2021-11-26 19:31 ( Edited 2021-11-26 19:32)
[Please log in to post a comment]