Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Use of joypad get/set
- event.onframestart(function()
- local t = joypad.get()
- if t["P1 A"] and t["P1 B"] then
- t["P1 A"] = false
- t["P1 B"] = false
- print("somethingspecial = true")
- end
- joypad.set(t)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement