Save device info object

This commit is contained in:
Charles Ewert 2020-05-06 21:51:17 -04:00
parent 494773eb16
commit 7371978ce0

View File

@ -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