ctrl-shift-r to reset
This commit is contained in:
parent
d68f8f9edd
commit
4c068cbf81
@ -2,6 +2,7 @@ function kbd(kA,sI)
|
|||||||
spawn("kbd: "..kA:sub(1,8),function()
|
spawn("kbd: "..kA:sub(1,8),function()
|
||||||
while true do
|
while true do
|
||||||
local _,ka,c,C = event.pull("key_down")
|
local _,ka,c,C = event.pull("key_down")
|
||||||
|
if c == 18 and C == 19 then computer.shutdown(true) end
|
||||||
if ka == kA then
|
if ka == kA then
|
||||||
event.push("key",sI,c,C)
|
event.push("key",sI,c,C)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user