invert control mobile only

Q&A about the latest versions
Post Reply
Carel
Posts: 178
Joined: Tue Sep 12, 2006 5:59 am
Location: Pasadena, CA USA
Contact:

Is there a way to invert control for mobile devices only? I know that Google Maps seems to have convinced everybody that endlessly dragging your mouse across the screen to view a pano is "normal", but the non-inverted click-and-hold is a superior interface on a desktop or laptop.
User avatar
Hopki
Gnome
Posts: 13018
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Using V6 you can add a start action to change control mode then use an action filter to detect if it is Not “Is Mobile”.
So on open if it is a computer it will change.
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/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

Hopki,

That doesn't seem to work w/v.6 b2, Win10.

Perhaps I am doing it wrong. Can you be more specific? thx.
User avatar
Hopki
Gnome
Posts: 13018
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Yeah, my bad, "Start" was wrong, you need "Config Loaded" source for the action, then the Action filter to detect Is Mobile then set the player to drag mode.
The attached should work ok.
Regards,
Hopki
Attachments
ismobilecontrol.zip
(12.08 KiB) Downloaded 127 times
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/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

Your example is a bit confusing. Why is there a global variable for some text box?
User avatar
Hopki
Gnome
Posts: 13018
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Ahhhhh, ok its a leftover from a different example I was making for someone.
Just remove it.

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