Page 1 of 1

One button 2 actions

Posted: Mon May 27, 2024 13:16
by Correus
Hello team, :)

I have a Gladiator and I have a simple problem in DCS but I can't solve it.
How can I create a button that will open the air brakes as long as I hold down and when I release it, the air brakes automatically retract?

Re: One button 2 actions

Posted: Mon May 27, 2024 23:47
by Victorus
Try to set button as a Toggle. Second button with the same number.
Button press (and hold) causes single pulse. Airbrake open. Release button - causes another pulse with same number - airbrake close.
_епд.jpg

Re: One button 2 actions

Posted: Tue May 28, 2024 14:51
by Correus
Hi Victorus,

Thanks for your answer.
The single pulse press button is not satisfactory because on the F16 in DCS the air brake opens progressively all the time the button is pressed. Ideally what I would like is when I continuously press the button it opens the air brake. On the other hand, when I release a single pulse and it is enough to completely close the air brake. Is it possible with the Gladiator?

Re: One button 2 actions

Posted: Wed May 29, 2024 9:29
by Victorus
If you want button, controlling airbrake, to be depressed, try this way.
___toggle.jpg

Button numbers are for example only.
Physical button 11 controls trigger. Virtual button 15 controls airbrake. But. 11 configured as toggle. #11 sets trigger = #15. After Toggle time expired #11 releases (while you still press button) but #15 stays depressed. Second toggle button is #13 resets trigger. When you release button physically, virtual #13 pulses, resetting trigger. #15 releases, closing airbrake.
Another way. Configure your button as Button Alternate. Press and release. Its virtual child stays depressed until you press button again. No triggers, direct airbrake control.
Be lucky!

Re: One button 2 actions

Posted: Wed Aug 21, 2024 6:55
by allen24
Following Victorus's suggestion, I set it up successfully. Thanks a lot.