One button 2 actions

Moderator: AdminGroup

Correus
Posts: 2
Joined: Thu Feb 10, 2022 17:54

One button 2 actions

Postby Correus » Mon May 27, 2024 13:16

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?

User avatar
Victorus
Posts: 1684
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 258 times

Re: One button 2 actions

Postby Victorus » Mon May 27, 2024 23:47

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
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

Correus
Posts: 2
Joined: Thu Feb 10, 2022 17:54

Re: One button 2 actions

Postby Correus » Tue May 28, 2024 14:51

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?

User avatar
Victorus
Posts: 1684
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 258 times

Re: One button 2 actions

Postby Victorus » Wed May 29, 2024 9:29

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!
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ


Return to “Manuals and Howtos”

Who is online

Users browsing this forum: No registered users and 11 guests