Disable gyro

Q&A about the latest versions
Post Reply
kris
Posts: 105
Joined: Wed Feb 15, 2012 9:37 am

How to disable gyro when using a cardboard.ggt template.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Have a button with a mouse click, or have a container with a player init action:

mouse click => goto url => url: javascript:gyro.disable(); => target: (lear blank)
or
player init => goto url => url: javascript:gyro.disable(); => target: (lear blank)

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
kris
Posts: 105
Joined: Wed Feb 15, 2012 9:37 am

I forgot to mention; its disable gyro on start when using cardboard.ggt template.
ggibbon
Posts: 120
Joined: Fri Aug 01, 2014 1:02 pm

Hi Hopki

Is it also disable on start with normal HTML output?

Thanks
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
The Gyro needs to be enabled in the normal template so select Include gyro control.
Then you can use the disable it on start up by selecting disable on start up.
Then you would use the actions in a button to toggle the gyro.

mouse click => goto url => url: javascript:gyro.toggle(); => target: (leave blank)

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply