mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-22 03:54:20 -05:00
screenblank works with the new rc system now, rejoyce
This commit is contained in:
parent
9eec6bf193
commit
67de47ebd4
@ -1,6 +1,8 @@
|
|||||||
local lastkey = computer.uptime()
|
local lastkey = computer.uptime()
|
||||||
local state = true
|
local state = true
|
||||||
local delay = 60
|
local delay = 60
|
||||||
|
function start()
|
||||||
|
return os.spawn(function()
|
||||||
while true do
|
while true do
|
||||||
tEv = {coroutine.yield()}
|
tEv = {coroutine.yield()}
|
||||||
if tEv[1] == "key_down" then
|
if tEv[1] == "key_down" then
|
||||||
@ -19,3 +21,5 @@ while true do
|
|||||||
state = false
|
state = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end,"screenblank")
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user