Save device info object
This commit is contained in:
parent
494773eb16
commit
7371978ce0
|
@ -40,9 +40,9 @@ sub Main()
|
|||
input = CreateObject("roInput")
|
||||
input.SetMessagePort(m.port)
|
||||
|
||||
di = CreateObject("roDeviceInfo")
|
||||
di.setMessagePort(m.port)
|
||||
di.EnableScreensaverExitedEvent(true)
|
||||
m.device = CreateObject("roDeviceInfo")
|
||||
m.device.setMessagePort(m.port)
|
||||
m.device.EnableScreensaverExitedEvent(true)
|
||||
|
||||
' This is the core logic loop. Mostly for transitioning between scenes
|
||||
' This now only references m. fields so could be placed anywhere, in theory
|
||||
|
|
Loading…
Reference in New Issue
Block a user