awebneck Posted October 20, 2018 Report Posted October 20, 2018 (edited) Hey guys, I created the following FlyWithLua script to apply to the Thrustmaster Warthog HOTAS throttle. This does the following: - maps the flaps lever exactly (since the HOTAS throttle flaps lever has 3 detents and so does the TBM, this is a bit more realistic than the default "false-momentary" flaps behavior). - maps the the smaller, left throttle to the mixture up/down a bit commands in 25% increments, so it simulates having the actual TBM900 throttle in the right-side track pretty well. The sectors of the axis are "SHUTOFF", "LO IDLE", "HI IDLE", "FLIGHT IDLE", respectively. - maps the small gray axis to the emergency manual override control Hope this helps folks! Just replace the axis / flap switch id numbers at the top of the script with those appropriate for your setup, et voila. https://gist.github.com/awebneck/d68dc5ad8a437b58950cae9d04e7c7cd Edited October 20, 2018 by awebneck adding instruction to replace id numbers 1 Quote
awebneck Posted October 20, 2018 Author Report Posted October 20, 2018 I also ended up mapping the gray throttle thumb switch momentary (back) direction to "toggle thrust reversers" to simulate the throttle guard release switch that allows you to move the throttle from flight to beta modes, and the thumb hatswitch button to TO/GA, but I just did those in the regular X-plane joystick config. Quote
Japo32 Posted October 21, 2018 Report Posted October 21, 2018 Hello! How does this work? I have the warthog and I don't see any change when I put in the Flywithlua NG... Do I have to assign the controls? Quote
Japo32 Posted October 21, 2018 Report Posted October 21, 2018 ahh I see I have to see the buttons number and modify with mine. Ok. But How do I have the axis numbers. The buttons are with Lua.. but don't find axis ones. Thanks! Quote
awebneck Posted October 21, 2018 Author Report Posted October 21, 2018 @Japo32 yeah, finding the axis numbers is a little hairier - I had to assign the axis I wanted to nothing, open the "<Xplane dir>/Output/preferences/control profiles/<your profile> - Joysticks.prf" file, then assign the axis to something random, and reopen that same file in a different window and compare the two to see which line changed from "_joy_AXIS_use<axisnumber> 0" to "_joy_AXIS_use<axisnumber> <commandnumber>". Once I found the line, the number I noted as "axisnumber" is the one you want to use. Hope this helps! Quote
Japo32 Posted October 21, 2018 Report Posted October 21, 2018 Ok.. I will try! Hope that Hotstar, introduce new commands and dataref for more mapping in future! Thanks! Quote
cpuwolf Posted November 18, 2018 Report Posted November 18, 2018 0.25/0.5/0.75 great great. check my solution https://forums.x-plane.org/index.php?/files/file/48249-warthog-throttle-deep-customization-for-tbm-900-win/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.