Standardize command inputs
This commit is contained in:
parent
4469f82092
commit
86c6894989
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue