no KeyPress for Visualizer? (revised)
Posted: Fri Nov 04, 2011 9:05 pm
ah - have to click on Visualizer to make it top window - now works ..... but
<KeyPress Keys="A">
<OnPressed>
<ZExpression>
<Expression>
<![CDATA[//
debugReset = debugReset + 1;]]>
</Expression>
</ZExpression>
</OnPressed>
</KeyPress>
debugReset increments by 3 or 4 for every keypress because OnUpdate runs multiple times while I am trying to press key as quickly as possible
.... how do you get around this? Thanks
..... OK
RepeatDelay
A delay in seconds for which a keypress is repeated.
.... saw this but was not sure what it meant ..... set it to 2 secs and everything wonderful!
Mic.
<KeyPress Keys="A">
<OnPressed>
<ZExpression>
<Expression>
<![CDATA[//
debugReset = debugReset + 1;]]>
</Expression>
</ZExpression>
</OnPressed>
</KeyPress>
debugReset increments by 3 or 4 for every keypress because OnUpdate runs multiple times while I am trying to press key as quickly as possible

..... OK

RepeatDelay
A delay in seconds for which a keypress is repeated.
.... saw this but was not sure what it meant ..... set it to 2 secs and everything wonderful!
Mic.