Displays all the key names for the controllers. Good for accessing lua table buttons when you retrieve a table via joypad.get(1) for example
No idea where this was from originally.
local function KeyCheck()
local T= joypad.get()
local y= 2
for k,v in pairs(T) do
gui.text(2,y,k)
y=y+15
end
end
--gui.register(KeyCheck)
while true do
KeyCheck();
emu.frameadvance();
end