Foxy Question
-
I was wondering if there is a statement to generate two controls at the same time?
something like this, maybe?
BT1 = /H com1 ; com2
Looking for both to be held for the same duration
Thank You :bowd:
-
Yes, you can do it with /H modifier and macros or key declarations directly.
Say your COM1 is bound to keypress A and COM2 is bound to keypress B, your line would be
BTN1 /H A B
-
Have a look at your Cougar Syntax.doc in your \Program Files (x86)\HOTAS folder .
2.7.2 { } Curly brackets
The next type of grouping uses “Curly Brackets”. This grouping allows a set of
characters to be generated as though they were all being held down at the same time.
Curly bracket groups are treated as a single entity for processing.For example:
BTN S4 {a b c}
is sent as “a” press, “b” press, “c” press, “a” release, “b” release, “c” release, as if you
had pressed and held one key after the other, then released them in the same order.
(Think of what you do when you have to use CTRL ALT DEL)Also note that a curly bracket group may be used in conjunction with a /H code, in
which case all keys in the group will be held until the button is released. For example:BTN S4 /H {CTL ALT DEL}