Jump to content

Recommended Posts

Posted

TM Warthog, using the "Silence" push button on the throttle base for the gear up/down toggle on all my modules which have retractable landing gear. In the F-16 (and F-4E) a single press of this button is somehow detected twice, causing the gear lever to move up then immediately back down again. This does not happen in any other modules except the F-16 and F-4E, which tells me there may be something in the controller lua code that allows rapid presses of the same button to be recognized. In contrast, other modules won't recognize such rapid signals and have a "cool-off time" between each keybinding press. 

I know trim speeds and such can be modified in luas, can this "cool-off time" between button presses be modified in a lua somewhere as well?

Posted

I don't have that problem (no tinkering with the lua's here). One press the gear goes up, next press it goes down. Never a double action.
Only testen F-16 as i don't have the F-4 

Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

Posted

If you press twice in rapid succession what happens? In other modules, for example the Mosquito, the second press isn't recognized unless there's a time delay between each press.

Now in the Viper I'm not pressing it twice, but the electrical signal seems to be sent twice with a single press.

Posted
39 minutes ago, Nealius said:

I know trim speeds and such can be modified in luas, can this "cool-off time" between button presses be modified in a lua somewhere as well?

The answer is "No". 
But it's possible to modify Lua code so you get two successive commands with a single button press/release sequence. Are you sure your "default.lua" is not modified?

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted (edited)
2 hours ago, Nealius said:

If you press twice in rapid succession what happens? 

Using the keyboard, the gear goes up and down. But the same happens in other modules, not only in the F-16.
If I keep it pressed (keyboard) it just performs one single action, either up or down depending on the state.

To rule out an accidental double press I'm using TARGET's PULSE command to only send one single command when a button is pressed.
It's not really necessary to do it that way but that's how I set it up.
I just tested with the keyboard instead of the Warthog (no TARGET script running) and even with the keyboard the gear just goes up when I press the keyboard and comes down when I press it again.   

Edited by Lange_666

Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

  • Recently Browsing   1 member

×
×
  • Create New...