Standardize command inputs

This commit is contained in:
Kyle Coburn 2015-03-29 12:23:29 -07:00
parent 4469f82092
commit 86c6894989
2 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,7 @@ end
local utils = require("util.utils")
local client = nil
local timeStopped = false
local timeStopped = true
local function send(prefix, body)
if (client) then

View File

@ -22,7 +22,7 @@ local function sendButton(button, ab)
gui.text(0, 7, button.." "..remainingFrames)
end
if (ab) then
button = "AB"
buttonbutton = "A,B"
end
bridgeButton(button)
setForFrame = button
@ -68,7 +68,7 @@ end
function input.escape()
local inputTable = {Right=true, Down=true}
joypad.set(inputTable)
bridgeButton("Escape")
bridgeButton("D,R")
end
function input.clear()
@ -94,7 +94,6 @@ end
function input.advance()
if (not setForFrame) then
bridgeButton("e")
-- print("e")
end
end