ctrl-shift-r to reset

This commit is contained in:
Izaya 2017-08-04 07:44:46 +10:00
parent d68f8f9edd
commit 4c068cbf81

View File

@ -2,6 +2,7 @@ function kbd(kA,sI)
spawn("kbd: "..kA:sub(1,8),function()
while true do
local _,ka,c,C = event.pull("key_down")
if c == 18 and C == 19 then computer.shutdown(true) end
if ka == kA then
event.push("key",sI,c,C)
end