Help on Gesture Commands

Forum to ask for any help
Post Reply
247Automation
Posts: 5
Joined: Mon Jul 16, 2012 3:36 pm

Help on Gesture Commands

Post by 247Automation » Sat Feb 09, 2013 10:59 am

Hi all,
I have a video server running 4 cameras with 4 buttons all working fine. I want to change the layout so I have a swipe left and swipe right gesture to flick from 1 camera to another. so right would be 1-2-3-4-1-etc

anyone got a suitable method.

Thanks

User avatar
DemoPad
Site Admin
Posts: 769
Joined: Thu Jun 14, 2012 10:46 am
Contact:

Re: Help on Gesture Commands

Post by DemoPad » Sat Feb 09, 2013 5:28 pm

One way would be to use a number variable, which goes from 0-5, with a default value of 1. Have a swipe-able area which, on the 'swipe left' gesture performs the action: set a number to: "[-]1" and the 'swipe right' performs the action: set a number to: "[+]1"

Then, in the custom actions for the number, specify what to do for each individual number value, ie the actions that your buttons currently perform (values 0 and 5 would be to set the number to 4 and 1 respectively, to cycle through the camera views).

247Automation
Posts: 5
Joined: Mon Jul 16, 2012 3:36 pm

Re: Help on Gesture Commands

Post by 247Automation » Sat Feb 09, 2013 6:52 pm

do you have an example, sort of understand but still need some help.

Idealhomes
Posts: 144
Joined: Mon Jul 16, 2012 3:35 pm
Location: New Zealand
Contact:

Re: Help on Gesture Commands

Post by Idealhomes » Sun Feb 10, 2013 5:48 am

You could also use flags and dynamically loaded images onto 4 transparent buttons and then use flags to control each button/swipe action.

I have uploaded a quick file for you to look at and see how each button is set with only flags and each dynamically loading images. This way only takes about 5 mins to set up once you have done it a few times ;)

Sooooooo many ways...... :lol: ;)

Good luck with your project.
You do not have the required permissions to view the files attached to this post.
"Setting the Standard in Quality and Commitment"

247Automation
Posts: 5
Joined: Mon Jul 16, 2012 3:36 pm

Re: Help on Gesture Commands

Post by 247Automation » Sun Feb 10, 2013 6:30 pm

thanks Demopad works a treat without quote marks [+]1
thanks IdealHomes for the other methods too.

Post Reply