Warthog Throttle - Idle Detent Python Script for Joystick Gremlin
-
As TARGET is quite buggy lately and as there are many high-end peripherals from VKB, VPC, and BRD, Joystick Gremlin is a good alternative because it can program any HOTAS from any brand. I believe more and more people will use Warthog Throttle in combine with other brand stick base. I myself use VKB Gunfighter + MCG Pro with Warthog Throttle. JG is as powerful if not more so than TARGET because it allow custom module via Python script.
I want to share my idle detent Python script that was inspired by how Morphine did it with his TARGET script.
import gremlin whthr = gremlin.input_devices.JoystickDecorator( "Throttle - HOTAS Warthog", (72287236, 2), "Default" ) @whthr.button(29) def idle_detent_right(event, vjoy): if event.is_pressed: vjoy[1].axis(3).value = 1.0 else: vjoy[1].axis(3).value = 0.9 @whthr.button(30) def idle_detent_left(event, vjoy): if event.is_pressed: vjoy[1].axis(6).value = 1.0 else: vjoy[1].axis(6).value = 0.9
You have to change 2 in (72287236, 2) to your Warthog Windows ID, and 1 in vjoy[1] to the number of vjoy device that would be mapped to the throttle.
You also have to set the throttle axes to start from lower than 1.0, I use 0.9; and enable Hardware/Idle Cutoff option in BMS configuration. Then set the idle detent level in BMS controller option.
-
thanks for sharing! This could be a godsend for folks like myself trying hard to avoid any extra crud on their systems like TARGET, win10 & friends.
I’m not sure about the “idle detent” setup though, I seem to recall only an AB detent setting on the throttle axis within BMS?
All the best, Uwe
PS: I’m wondering if I would need to remap all my WT throttle controls to the new device created by vjoy for this to work?
-
thanks for sharing! This could be a godsend for folks like myself trying hard to avoid any extra crud on their systems like TARGET, win10 & friends.
I’m not sure about the “idle detent” setup though, I seem to recall only an AB detent setting on the throttle axis within BMS?
All the best, Uwe
PS: I’m wondering if I would need to remap all my WT throttle controls to the new device created by vjoy for this to work?
If you enable Idle Cutoff, you can right click to set idle detent level for throttle.
This a procedure written by Morphine, it is applicable here as well.
To enable the Idle Cutoff functionality, first make sure the “Idle Cutoff” box is CHECKED in the Falcon BMS Configuration “Settings Hardware” area. This will enable the OFF-Idle throttle position code in BMS and render the ‘Idle Detent’ code non-functional (i.e. alt-i no longer works). Enter the sim Setup Controllers page and pull the throttle all the way back (but NOT up and on to the idle detents) and RIGHT CLICK on the SET AB button. This will set the idle cutoff point and the Red Line will appear near, but above, the bottom of the indicator. You can check if things are working to plan by now moving the throttles up and on to the idle detents and you should see the throttle position indicators move below the Red Line.
https://sites.google.com/a/hodderweb.com/warthog/falcon-bms/home
Yes you need to remap all Warthog Throttle to the joy, and use only vjoy.