Disable gyro

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

Sat Jun 25, 2016 6:25 pm

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

Sat Jun 25, 2016 11:55 pm

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
Hopki
Garden Gnome Software 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

Mon Jun 27, 2016 11:43 am

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

Mon Jul 25, 2016 1:21 pm

Hi Hopki

Is it also disable on start with normal HTML output?

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

Tue Jul 26, 2016 5:12 pm

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
Hopki
Garden Gnome Software 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