cameraViewport - making 3dMouse active on startup

Hi @robmc I am loving the cameraViewport, so buttery smooth, especially with the little 3d spaceMouse. I am working on an installation that will use the 3dMouse with cameraViewport in TouchPlayer, so I need it to be active and working upon startup.

I save the network with the 3dmouse Active, but when I re-open the network, even if 3dmouse flag is still Active, it doesn’t respond. I need to toggle it off/on for it to respond, even though I can see that a joystick CHOP is getting data.

I explored around and it seems that, on startup, even if the 3dmouse parameter is active, the joystick1 CHOP inside is still bypassed, until the onValueChange in parexec1 un-bypasses it (when I toggle off/on).

I got around it by adding an Execute DAT to the top-level network with this command onStart: op('cameraViewport/joystick1').bypass = 0; but it feels very hacky and I wonder if there’s a better solution, or if this behaviour was intentional? I tried also adding that command to the execute1 within the cameraViewport component, but it seemed to unceremoniously delete my edits next time I opened it.

In the end, I got it to work and it was my first time opening something in TouchPlayer which was really exciting!

Thanks