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