Page 1 of 1

Weird Keycomboout behavior

Posted: 12 Feb 2014 11:46
by velmar
Hello,

as part of some greater project I wanted to introduce some basic buttons used in everyday work using keycomboout.
The problem grinds down to this simple setup:

So I create two pad type custom buttons - one is supposed to send a CTRL-C and the outher sends CTRL-V .
Simple as that.
Easily done - each button has a script attached that fires on Expression X :

CTRL-C
keycomboout(0,1,0,0,67);

CTRL-V
keycomboout(0,1,0,0,86);

So what happens when I connect my Ipad to this is, that it seems execute each of these commands at least once and keeps firing the CTRL-V so objects in lemur editor get copied-pasted infinitely until I close the editor or open another project.
Can someone explain what happens ?
And how I can prevent it from firing the scripts when the teplate gets loaded ?

Thanks in advance.

Re: Weird Keycomboout behavior

Posted: 16 Feb 2014 22:25
by Softcore
Weird, try using on expression X, rising (top arrow selection) - see if that changes anything...on expression X, any is wrong anyways cause the scripts will be executed twice each time (one when you tap on the pad, x goes from 0 to 1, and one when you "leave" the pad, x goes from 1 to 0)