Jump to content

Flap lever does not register quick sequential inputs


Go to solution Solved by virgo47,

Recommended Posts

Posted

I'm running a VKB STECS Max and using the three position lever for flaps. I have it set up for instantaneous pulses at all three positions. However, if I move the lever quickly, the F-4E only registers the center position. Therefore, if I quickly move from full flaps to no flaps (or in reverse), the module is leaving flaps centered.

The only other module I have with three position flaps is the F/A-18C, and it does not have this problem. I suspect it's something with the way the flap lever is coded to prevent inadvertent movement, but it seems to be blocking intentional settings.

Thanks!

Posted

Here's a screenshot of what I'm using. I should have said originally as well that it works completely as expected if I move between the positions a little slower. It's only when rapidly moving from Norm to Out&Down or from Out&Down to Norm quickly that seems to confuse it. But perhaps there is a better way to bind it.

Thanks!

Flap lever screenshot.png

Posted

Same thing happens. I've got it bound like you say and have the same problem. Something's up with that particular switch, because 3-position binds in other modules don't have this problem, either.

Posted

Could be the animation speed. DCS rejects inputs while the animation still plays.

Can you try with another 3pos switch in the aircraft, perhaps the generator switches? something that animates fast.

Posted (edited)

Also reported for the gear - but the input is the same - STECS 3-way flip lever:

It's very annoying - and actually NOT specific to STECS. Also, it can happen with a lot of modules with 3-way levers/switches. You can simulate this on keyboard as well. It's clearly DCS input processing related, not input device related. And no, it is not affected by the "generator" on or off - as proven by the keyboard reproduction.

Edited by virgo47

✈️ L-39, F-4E, F-5E, F-14, F/A-18C, MiG-15, F-86F, AJS-37, C-101, FC2024 🛩️ Yak-52, P-47, Spitfire, CE2 🚁 UH-1H, Mi-8, Ka-50 III, SA342 🗺️ NTTR, PG, SY, Chnl, Norm2, Kola, DE 📦 Supercarrier, NS430, WWII, CA 🕹️ VKB STECS+Gladiator/Kosmosima+TPR ▶️ DCS Unscripted YouTube 🐛 "Favourite" bugs: 1) gates not growing regress (FIXED 2025-03 👍), 2) L-39 target size cockpit animation regress (FIXED 2025-02👍), 3) Yak-52 toggles not toggling, 4) all Caucasus ATC bugs

Posted

Yeah then its most likely the animation time. While a switch is still moving, DCS rejects inputs to that switch.

Tricky topic, as the only way to get rid of it is to increase the animation time of the switch, which might look silly. Imagine your landing gear handle to move as fast as one of the normal mini switches...

  • Solution
Posted

In ideal world there would be some queueing for events on the same device (flaps here), but as we reopened the topic in the other linked discussion, I came up with some neat solution. Instead of just one pulse, I send two with some not so long space between:

image.png

Set Generator Type to GTR2, 60 is for 600ms which should cover most animations.

The only downside is, if the switch acts as a toggle (e.g. toggling between UP/NEUTRAL or DOWN/NEUTRAL), which I hope guys made right for F-4E - or offered all alternatives. I was so happy with this solution only to find, that in MiG-15bis someone was too clever and made the actions toggle, without proper naming. 🙂 Luckily I could fix it with Quaggle's command injector and some Lua.

So now I'm instructing the plane to lower (or retract) the gear twice. And it listens. Not tested on F-4E, but I hope it's applicable.

Technically, this is still just a workaround for a general DCS issue affecting only us - poor flip switchers. 😄

  • Thanks 1

✈️ L-39, F-4E, F-5E, F-14, F/A-18C, MiG-15, F-86F, AJS-37, C-101, FC2024 🛩️ Yak-52, P-47, Spitfire, CE2 🚁 UH-1H, Mi-8, Ka-50 III, SA342 🗺️ NTTR, PG, SY, Chnl, Norm2, Kola, DE 📦 Supercarrier, NS430, WWII, CA 🕹️ VKB STECS+Gladiator/Kosmosima+TPR ▶️ DCS Unscripted YouTube 🐛 "Favourite" bugs: 1) gates not growing regress (FIXED 2025-03 👍), 2) L-39 target size cockpit animation regress (FIXED 2025-02👍), 3) Yak-52 toggles not toggling, 4) all Caucasus ATC bugs

Posted
On 6/24/2024 at 1:34 PM, Zabuzard said:

Could be the animation speed. DCS rejects inputs while the animation still plays.

Can you try with another 3pos switch in the aircraft, perhaps the generator switches? something that animates fast.

I did try with the generator switches and still outpaced them moving the switch quickly. That being said, I do think it's the animation speed, as I used Virgo47's solution, above, and it works (for what it's worth, I got it all the way down to 60 ms, so I don't think you need 600 ms). Thanks for that idea!

I also took a look at the clickabledata.lua file. I'm not seeing a flaps setting, though it might be included in something more global. If that does work, though, I would be concerned about it resetting every patch. Perhaps this could be something included in a module setting? For hand-thrown switches, instantaneous animations might be a preferred option for a lot of us.

Thanks, both!

  • Like 2
Posted

I've run into this a few times, and not just with the F4.  Flipping a 3 way ON-ON-ON too fast can sometimes result in an input being ignored; has to do with polling frequency on the USB among other things.  I know on my controls it loops ~125 times a second because I wrote the code to poll at that rate and it shows up on diagnostics, but I can still flip a switch too fast if I'm in a hurry.  That typically doesn't show up on rotaries because, I suspect, they're mechanically slower.  Toggles are all linear motion.

Being able to tweak your outputs in driver software?  Priceless.  Might need to set something like that up next time I have my panels in the shop.

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...