Fix joypad.set "unit test" script

This commit is contained in:
adelikat 2014-03-29 21:30:21 +00:00
parent 42ff4c072c
commit fabef275eb
1 changed files with 2 additions and 0 deletions

View File

@ -14,11 +14,13 @@ buttons["P1 Up"] = false;
buttons["P1 Down"] = true;
buttons["P1 Left"] = "invert";
buttons["P1 Right"] = null;
joypad.set(buttons);
pushThings = true;
while true do
if (pushThings) then
buttons = { };
buttons["P1 A"] = false;
buttons["P1 B"] = true;
buttons["P1 Select"] = "invert";