Page 1 of 1

Help on Gesture Commands

Posted: Sat Feb 09, 2013 10:59 am
by 247Automation
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

Re: Help on Gesture Commands

Posted: Sat Feb 09, 2013 5:28 pm
by DemoPad
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).

Re: Help on Gesture Commands

Posted: Sat Feb 09, 2013 6:52 pm
by 247Automation
do you have an example, sort of understand but still need some help.

Re: Help on Gesture Commands

Posted: Sun Feb 10, 2013 5:48 am
by Idealhomes
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.

Re: Help on Gesture Commands

Posted: Sun Feb 10, 2013 6:30 pm
by 247Automation
thanks Demopad works a treat without quote marks [+]1
thanks IdealHomes for the other methods too.