Newcomer / Intro How to Check Position of Thrustmaster Warthog Switches on Startup of Script?

I'd like my Thrustmaster Warthog Throttle LEDS to be set correctly when I start running my script. For example, I've assigned a switch to the landing gear, and I've assigned on of the LED's to light up when the gear is down. Upon startup of my script, I'd like it to check the status of the landing gear switch and set the LED accordingly. That way my light will be correct when I enter the game. Is there a way to do this, and if so, how is it done?
 
Am not sure of the warthog connected answer to this but would suggest one strategy to be that you'd need to make sure you're always eg. docked <gear down> <fuel scoop closed> <lights off> when you log out (or always in space, but always the same configuration) so you can get your script to always match your game starting position? It might be something you need to work out over a few log ons, as lights for example always seem to default to <off> when logging into the game, even if they were on when you logged out?
 
Am not sure of the warthog connected answer to this but would suggest one strategy to be that you'd need to make sure you're always eg. docked <gear down> <fuel scoop closed> <lights off> when you log out (or always in space, but always the same configuration) so you can get your script to always match your game starting position? It might be something you need to work out over a few log ons, as lights for example always seem to default to <off> when logging into the game, even if they were on when you logged out?


What I can suggest is to make sure that the "relaxed" state of your WartHog configuration switches is all "back"- or let's say with the switches pointing backwards.
That way you know at a glance what needs to be rectified the moment you launch Elite.

That's how RL cockpit are "mostly" using anyway.
 
Thanks for the advice! I will probably end up doing those things. As a programmer at heart, and an Oculus Rift aficionado, I always want to try to do every possible thing with the software before I have to "resort" to doing things in real life! :)
 
Back
Top Bottom