mirror of
https://github.com/Kiritow/OpenComputerScripts.git
synced 2024-03-22 13:10:46 +08:00
Add switch_flipped event support
This commit is contained in:
parent
e88959649f
commit
db306383c2
|
@ -165,6 +165,13 @@ local function doInternalEventInit()
|
|||
t["message"]=raw_event[4]
|
||||
end
|
||||
|
||||
tb["switch_flipped"]=function(raw_event,t)
|
||||
t["event"]=raw_event[1]
|
||||
t["address"]=raw_event[2]
|
||||
t["index"]=raw_event[3]
|
||||
t["newState"]=raw_event[4]
|
||||
end
|
||||
|
||||
--- OpenSecurity
|
||||
|
||||
tb["magData"]=function(raw_event,t)
|
||||
|
|
Loading…
Reference in New Issue
Block a user