Jump to content

Mimic the real startup procedure with a full size controller (pro flight trainer)


Recommended Posts

Posted

Hi,

 

I have a pro flight trainer and to startup the Huey I have to use my mouse to move the power from idle to standby. I cannot use the power on my collective. Or I have to click on the button then page up.

There is no way to do like in the real huey, click on the button then rotate my power handle?

 

Thanks

Favorite modules : Huey, F-86F, F14 and P-51D

Quest 2, RTX 3080, i7 10700K, 16 Gb of RAM, Pro Flight Trainer PUMA helicopter setup, Warthog HOTAS with two force sensitive stick, custom cockpit and a GS-Cobra dynamic seat.

Posted

The throttle axis in the module is semi-complicated. The range of motion from the stop to maximum can be assigned to an axis but the range "below 0%" from the stop to the minimum can't. In this pre-stop range only key/button inputs have an effect.

 

My solution is a TARGET script does a timed key pressed to transit this non-axis region.

Posted

I guess I'll try this with joystick gremlin instead as I do not use a thrustmaster product, I have a pro flight trainer puma.

Though, exactly what do you want the script to do? Like when throttle goes to zero, then apply a page down several times?

And then how to mimic the opposite? If for instance the throttle goes to 10% from below 10%, then apply page up a few times?

 

Thanks

Favorite modules : Huey, F-86F, F14 and P-51D

Quest 2, RTX 3080, i7 10700K, 16 Gb of RAM, Pro Flight Trainer PUMA helicopter setup, Warthog HOTAS with two force sensitive stick, custom cockpit and a GS-Cobra dynamic seat.

Posted

Using AutoHotKey I managed to unlock the axis at the push of a button, the script checks that the throttle is at the minimum to trigger a series of key presses 'PageUp'.

 

I even added a few options at boot time.

 

 

Joy5:: ; Unlock Throttle axis with the button n°5 of joystick - xJoyb : x is the joystick number (nothing if only one) ; b is the number of button

if (GetKeyState("JoyR") > 97) ; 'JoyR' is the 4th axis of the joystick

; 'JoyU' and 'JoyV': The 5th and 6th axes of the joystick.

; 97% or 3% along the throttle axis curve

{

Loop 12 ; counter for maintaining the pressure 'PageUp'

{

SendEvent {PgUp Down}

Sleep 20

SendEvent {PgUp Up}

}

Sleep 20

Send #h ; (optional) disable 'Crew Panel' at start (LWin + H)

Sleep 20

Send <+{F10} ; (optional) disable 'Labels' at start (LShift + F10)

}

return

 

Enjoy :pilotfly:

Idle Unlock.zip

Posted

The details of this are coming back to me. The start/stop button doesn't work if it is pressed and then the throttle attempted to rotate negative. The pressure to rotate negative has to be applied and held and while it's being held, the stop button pressed. This makes it a complete annoyance to program the macro.

 

The relevant section of the TARGET script. There's no good reason I had to pulse the stop button 3x instead of 1x but for some reason about 25% of the time it fails if I don't do it that way. It's really weird. Anyway, at least you can see the button animate this way so it feels more human.

 

[color=#000000] MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS); //Throttle (Pre-AB)
SetCustomCurve(&Throttle, THR_LEFT, LIST(0,0, 65,100, 100,100));
MapKey (&Throttle, IDLELON, CHAIN(DOWN+DX2, PULSE+DX1, D(200), PULSE+DX1, D(200), PULSE+DX1, D(500), UP+DX2));
//Throttle cutoff past stop, DX1 throttle stop button, DX2 throttle decrease
MapKey (&Throttle, IDLELOFF, CHAIN( DOWN+DX3, D(700), UP+DX3, DOWN+DX2, D(200), UP+DX2 ));
//Throttle increase from stop position[/color]

  • Recently Browsing   0 members

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