In a newer version of bizhawk, my script has started to malfunction.
It is supposed to display the currently pressed gamepad buttons but now it displays Tilt Z and stuff like that. How can I turn that off?
Relevant code:
t = ""
for key, value in pairs(joypad.get()) do
-- if value ~= false then t = t .." ".. tostring(key) end
if value ~= false then
if tostring(key)=="Up" then t = t .." ^"
elseif tostring(key)=="Down" then t = t .." v"
elseif tostring(key)=="Left" then t = t .." <"
elseif tostring(key)=="Right" then t = t .." >"
elseif tostring(key)=="Select" then t = t .." s"
elseif tostring(key)=="Start" then t = t .." S"
else t = t .." ".. tostring(key) end
end
end
gui.text(76,60,tostring(t), 0xff000000, 0xffffffff)
end
---
Does bizhawk support tilting? How?
---
This code doesn't seem to work, why?
gui.drawText( 82, 7, "Hello world", "#ffffff")