func init() { device.AddDeviceSetupCallback(startDeviceLoop) }
// add the VNC loop method to device setup func init() { device.AddDeviceSetupCallback(func(dev *device.Device) error { startDeviceLoop(dev) return nil }) }