Clicker, the warthog by default is a separate joystick and throttle. Those are the devices you mapped in game. When you run Target, it combines them into a single virtual controller. This is a different joystick, so your current game mappings wont see it. There are ways around this, but its not standard target setup, and requires deep knowledge of how target works. Unfortunately target was designed for compatibility w/ those old sims that only work with a single joystick, and it's not easy to get around it.

You can't really do it w/out remapping everything. The best way to go is simply use target to send keyboard keys, the way our scripts do it. There's a lot of benefits to using target. The ingame mapping is powerful, e.g. you can accomplish shift states with multiple keys. However, Target can do things like macros and short/long keypresses. It's better to use Target to get the fullest out of your shiny new HOTAS.


Aussiedroid: my mPower function is pretty well documented. Even if you don't grok how it works, it still works! I'm inordinately proud of it, its very slick. Sure, we can do the same thing with macros, I used to use them. The function is more of a 'elegance of programming' thing.

I find my script continues to evolve the more I play the game. For example, I used to map TG2 to full WEP power. That worked great on combat ships with certain weapons, they needed lots of power to fire for extended periods. However I recently created a shotgun boat (rapid fire screening shell for jaw dropping DPS!) that didn't need a lot of Wep power. I kept accidentally changing my power settings in combat, so I mapped a 3-way switch to change trigger functions on the fly.

Plenty of examples like that is why I've avoided complex state tracking functions like this script and Touille's use. What I would really love, is to implement a TCP/UDP function to monitor the game API for state tracking. That ability is already in Target, but I've never seen it actually implemented. The guy who coded up Target is one smart cookie.
 
Last edited:
Plenty of examples like that is why I've avoided complex state tracking functions like this script and Touille's use. What I would really love, is to implement a TCP/UDP function to monitor the game API for state tracking. That ability is already in Target, but I've never seen it actually implemented. The guy who coded up Target is one smart cookie.

Well I never knew that! Now that would save a lot of messing around. I wonder if the Journal API exports those states (never really looked into it). If it did then could be feasible 'for some smart cookie :p' to capture those and/or translate into the script functions.

In my script I only really introduced state tracking recently about v2.3, wanted to avoid as much as possible, but found I got to a point where they could eliminate some issues even if it adds some complexity behind the scenes.

It is the beauty of the Warthogs though that you have such great flexibility in how you can configure things. Really can do anything!
 
Thanks AD and DC ... I thought as much.

I will eventually get into Target at some stage ("soon"), but didn't really want the full monty to start with so to speak...otherwise I won't learn as much.

You guys have obviously done a LOT of work with this and it's really brilliant you're approachable on these forums.

Thanks

Clicker
 
No worries Clicker :)

Good approach. Happy to help with any questions you have when you get around to doing the TARGET thing. Its a steep learning curve but worth it in the end :)
 
Hello!

I had a PC die on me and had to take a break.

I've finally got a new machine and everything is installed but despite copying the binds file and making sure to run TARGET fist with the tmc file, I can only see 4 profiles in the controls folder: Classic Keyboard, Generic Koystick, Keyboard and Mouse and Empty.

Checked the location and I can see all of the bindings in the correct game folder but they just won't appear.

Any ideas?
 
Hey imski,

Sounds from your description that you have the binds file in the right location (assuming you can see the other bind files in the same folder). The only thing that comes to mind is that either the file is corrupt (ie bad download) or the game was running when you copied the files across (in which case it might not refresh the list until reload). Shouldn't be anything more complicated to it, so has to be something simple :)

Just as part of testing out too, I would do a restart, reload everything and just double check.

Let me know how you get on :)

Cheers,
AD
 
Me again.

(yes...another noob with a shiney new TM Warthog that doesn't quiiiiite do what I want)


Ok, so...as from previous recent posts.
Connected up new TM Warthog (awesome)
Created new binding file via mapping all the controls and buttons inside ED...test...all works as expected.
Started thinking about how to use a button to request docking, so fired up Target to have a play.
Worked out how to use the Autopilot Engage button to send a series of keystrokes to request docking (tested via MSWord)
Jumped back in game and discovered that if Target is running all my bindings were lost (due to it creating a single virtual device)
Thought about whether I should re bind everything with Target running, or, use Target to send the keyboard keys already in my bind file for those switch type items, and...
I chose the former (maybe my mistake) coz I thought that might be easier, although I knew in my head that probably the latter should be the way to go.

So, pretty much mapped everything...except...
The boat switch and china hat won't register in the ED binding screen....(???)

Mind you, the coolie switch, left throttle button and MIC switch hat all register.

Anything obvious I need to look at here?

More info...I created an advanced config file in Target, included the throttle, stick and my TFRP Peddals into the config...played around a bit so the pedals would not interfere with the throttle and stick...and the ONLY thing else I've configured (at this stage....it's starting to resemble an adictive drug, this Target thing) is the APENG button.

Have I just gone down the wrong path here and should have used Target to send the keys rather than try to bind the switches in ED?
Just seems strange that I can map most everything else I need except those two switches on the throttle.

Clicker

p.s. I do have a second bind file I can use with Target NOT running and everything works fine (just cant use the APENG button to req docking. (meh)
p.p.s Yes, I can feel it now...the lure of the almighty TM Warthog / Target combination ... starting to suck me in even after only 2 days ownership!
 
Last edited:
Hi Aussiedroid, you are a hero of the modern world!

Started working on my new Warthog with your bindings last night and you really have it covered! As I use VoiceAttack (your keyboard reference page is invaluable for that) and VR I will probably not need to use a lot of the bindings, but you saved me a long time setting up everything, thank you! And your three way switch for stick speed is sheer bloody genius!

But as I am a needy and high maintenance Don who likes people to do legwork for me I have a question...

If I change bindings for anything via the ED Options>Controls page in game so long as I avoid anything you've already used will it leave your scripts unchanged or does it bug ger things up? In other words, is this the only set up I can ever use or can I customise it a little?

P.S. Despite being a dedicated VR player I intend to play on screen for a good while with your reference images open while I get used to all your bindings, the Warthog and your set up is to good a system not to invest time and effort to learn properly.
 
Last edited:
Hey Clicker,

Man you work quick!! Took me a couple weeks before I had anything actually working lol .. and yes the allure to the power of the TARGET can be strong :p

You can go either way in mapping these (or should be able to, tbh I dont think I ever tried mapping those ones in ED myself). In the script do you have the following?

For China Hat:
MapKey(&Throttle, CHF, 0);
MapKey(&Throttle, CHB, 0);

For Boat:
MapKey(&Throttle, BSF, 0);
MapKey(&Throttle, BSM, 0);
MapKey(&Throttle, BSB, 0);


This should initialise the buttons, but map it to nothing. Then you should be able to configure it to whatever in ED Config. If still doesn't work then could try mapping in the script by changing the 0 to your preferred key mappings & then define the same keys in ED Config, retest.

:)

----------

Hey CMDR Corleone,

Thanks a bunch for your kind words, glad you like the script!

Your question is a bit of a tricky one. I use a combination of script mappings and ED Config mappings so both would need to be considered when making changes. You might need to be a bit more specific. Might be fine with some small changes here and there but larger changes could get complex.

Then there is always the brute force method, one a Corleone might appreciate :) Just make a copy/backup, go in and play around. It will either work or you'll break it but at the end of the day, and if it doesn't work, just copy back your good copy and gtg again.

Most feedback I have received from new users to the script who are familiar with ED, is that it may take 2-3 hours in a good solid session to get the muscle memory kicking in, after which it should be smooth sailing. Hopefully you are back in VR soon mate :cool:



Cheers,
AD
 
Last edited:
Yeah, it looks like reinstalling cured it, but my throttle is acting wonky. It seems to behaving like a switch rather than an axis. So I can either be full forward or backwards.

Additionally the china hat doesn't seem to be mapped at all.
 
Hey CMDR Corleone,

Thanks a bunch for your kind words, glad you like the script!

Your question is a bit of a tricky one. I use a combination of script mappings and ED Config mappings so both would need to be considered when making changes. You might need to be a bit more specific. Might be fine with some small changes here and there but larger changes could get complex.

Then there is always the brute force method, one a Corleone might appreciate :) Just make a copy/backup, go in and play around. It will either work or you'll break it but at the end of the day, and if it doesn't work, just copy back your good copy and gtg again.

Most feedback I have received from new users to the script who are familiar with ED, is that it may take 2-3 hours in a good solid session to get the muscle memory kicking in, after which it should be smooth sailing. Hopefully you are back in VR soon mate :cool:



Cheers,
AD

I take great offense to that, I don't use brute force, I just apply gentle pressure where it is most effective; accuse me of violence again and I'll have your legs broken. ;)

I added a throttle reverse switch on the top RHS throttle has as a "press" (as opposed to move) command and that worked fine, the top hat on the right hand side of the throttle, if you want to add it, it's a pretty intuitive location, becomes very natural quickly.

I might look for a different place to put the lateral/vertical thrusters as well, I find that and the UI selections never seem to be "press down for down" but rotated 90 degrees so left is down, up is left... Is that an error with my set up or intended?

Thanks!
 
Yeah, it looks like reinstalling cured it, but my throttle is acting wonky. It seems to behaving like a switch rather than an axis. So I can either be full forward or backwards.

Additionally the china hat doesn't seem to be mapped at all.

Great, getting closer :)

I can't think of any settings that would cause the throttle to act like a on/off mode. I would recommend testing it out in the Device Analyzer, try changing the Throttle mode switch and see what results you are getting. It should, if working, show different curves and hopefully a smooth movement. If it looks ok there, and still doesn't work in ED, the I would recommend clearing the throttle axis mapping, and then remap it and save the bindings again in ED. To note, there is a digital mapping for the forward/back thrusters too on the index finger on the hat switch on the throttle.

Regarding the China Hat, there are a few things to know. Firstly, there are 2 alternative mappings to this switch depending on if you set CruiseOnThrottle to be active. If you take a look at the reference map for the throttle you will see 2 sets of mappings. By default CruiseOnThrottle is on, so this means the FSD is enabled by holding down Pinky Trigger and moving throttle to 100%. Instead of having it also mapped to China Hat, this is reconfigured to have Orbital Lines (Up) & Next In Route (Down). These can do nothing depending on the status in game (ie need to be in supercruise to see Orbital Lines and need Route plotted to reacquire target.

If you prefer the FSD on the China Hat, you can change CruiseOnThrottle to 0 in the User Preferences section and then it will map the other settings, but I would definintely recommend giving it a try first. It is very natural once you get used to it.

Cheers!
AD

I take great offense to that, I don't use brute force, I just apply gentle pressure where it is most effective; accuse me of violence again and I'll have your legs broken. ;)

I added a throttle reverse switch on the top RHS throttle has as a "press" (as opposed to move) command and that worked fine, the top hat on the right hand side of the throttle, if you want to add it, it's a pretty intuitive location, becomes very natural quickly.

I might look for a different place to put the lateral/vertical thrusters as well, I find that and the UI selections never seem to be "press down for down" but rotated 90 degrees so left is down, up is left... Is that an error with my set up or intended?

Thanks!

My Don! Forgive Me!! *Bends over and kisses the ring* :p

If I understand where you remapped the Reverse, that should be fine, but it would be taking out the push-to-talk for the mic (not a big issue for a lot of players but just mentioning).

If I can offer another solution to consider, which would allow you to use Forward Only still but also have access to the other Throttle modes if you wanted to change later. Moving the Throttle 3-way switch up, you can use the reverse thruster on the index finger hat switch on the throttle. Its not a dedicated reverse but still offers digital reverse inputs. I use a full range myself, its hard to get used to but removes the need for a switch.

Haha, yeah I know what you mean with the hat switch. Technically towards you is down in relative position to your hand, so the thrusters are mapped accordingly. If you just wanted to change the directions, rotating them 90 degrees that should not cause any issues (and think that you can get away with that just mapping in ED). Moving them to another hat switch all together, that might be complicated.

Cheers,
AD
 
Hey Clicker,

Man you work quick!! Took me a couple weeks before I had anything actually working lol .. and yes the allure to the power of the TARGET can be strong :p

You can go either way in mapping these (or should be able to, tbh I dont think I ever tried mapping those ones in ED myself). In the script do you have the following?

For China Hat:
MapKey(&Throttle, CHF, 0);
MapKey(&Throttle, CHB, 0);

For Boat:
MapKey(&Throttle, BSF, 0);
MapKey(&Throttle, BSM, 0);
MapKey(&Throttle, BSB, 0);


This should initialise the buttons, but map it to nothing. Then you should be able to configure it to whatever in ED Config. If still doesn't work then could try mapping in the script by changing the 0 to your preferred key mappings & then define the same keys in ED Config, retest.

:)

Thanks heaps, I'll give that a go.

Seems a bit odd that I didn't need to initialise the other hats/buttons that I'm using on the throttle.

Perhaps I should initialise all the buttons then rebind?
Or, perhaps I should scrap this approach and initialise every button and map those I want to use to a keyboard key?

Cheers,
Clicker
 
Last edited:
No worries!

I agree, I am actually scratching my head a bit on it. Figured, maybe the basics might fix it, but I do still recall on the X55 I used that some things would not recognise natively in ED. It needed registry keys to be installed. I can't see a Warthog being the same though. Has to be something obvious where it is not including it or something in the virtual device.

It is probably good practice to add the other intialisations (if that is what they are called) to the script, even if you leave them null or commented out it can make modification later on easier. Keyboard mappings will have some advantage, will help if you ever wanted to use VA for example, but also makes it easier to keep track of & change mappings. Joy XX or whatever can get confusing to read what is what.

I get the feeling you might be on the fence on going that lighter setup you mentioned at the start or now going full on and committing to the scripting approach :p. Your call to make. You seem to have an aptitude for this given how fast you got the basics going. Warthog will have total control over your mappings, but will take more time to setup and test. Always a trade off, but for me off course, I figure why have this expensive hardware sitting there if I am not fully utilising it. The time factor became moot after that for me, and as it turned out I actually enjoyed geeking out programming all this stuff. Good to learn new things.
 
Again, thanks for your invaluable help..

I'm using the Target GUI and have mapped those buttons to the key bindings for what I want have done and it works like a charm) of course. Even better the original "Request docking" button I created in the Target GUI works perfectly as well!

The best bit of course was that I'm now that little bit more familiar and confident in the Target GUI, so now I'm off and flying as it were! Again thanks to you mate, I really appreciate it.

So, now I'm off to map all the switch and hat buttons inside Target to their keystrokes and remove from the manual ED bindings!

I'll also have a play with the LEDs on the throttle.
;-)

I'm sure I'll be back when next I get stuck, but for now, I've got everything I had working on the X-55, working on the TM Warthog.

Cheers
Clicker
 
Thanks heaps, I'll give that a go.

Seems a bit odd that I didn't need to initialise the other hats/buttons that I'm using on the throttle.

Perhaps I should initialise all the buttons then rebind?
Or, perhaps I should scrap this approach and initialise every button and map those I want to use to a keyboard key?

Cheers,
Clicker

Ok, so...playing a bit more and reading a bit more I have discovered that when using Target, there's a maximum of 32 buttons you can assign due a DirectX limitation.
This explains why some of my direct binds in ED worked but by the time I got to the china hat and boat switch, I'd run out.

So, the answer was, of course, to not map the buttons directly in ED but to assign them key-presses in Target..which I've now done.

BTW, I have a reasonably limited requirement, so the Target GUI suits my simple needs.

Everything works as I need now and closely mimics what I had on my X-55.
(actually I've managed to get the Warthog to work better than I ever bothered with the X-55)

For now, I'll go play the game for a while and let my muscle memory adjust to the slight variations.

No doubt I'll want to tweak the Target GUI configuration some more, now I know a bit more about it and have gained some confidence.
I can see though that at some point, I'll no doubt need to start learning about the Target scripting option.

For anyone else out there who is thinking about purchasing a TM Warthog, know this;
a) it is expensive
b) it's very well built
c) it will work right out of the box in Elite, or...
d) the Target GUI and scripting options make this combo so powerful and configurable, you realize the cost is worth it for the complete package and not just the HOTAS hardware

Cheers
Clicker
 
Great, getting closer :)

I can't think of any settings that would cause the throttle to act like a on/off mode. I would recommend testing it out in the Device Analyzer, try changing the Throttle mode switch and see what results you are getting. It should, if working, show different curves and hopefully a smooth movement. If it looks ok there, and still doesn't work in ED, the I would recommend clearing the throttle axis mapping, and then remap it and save the bindings again in ED. To note, there is a digital mapping for the forward/back thrusters too on the index finger on the hat switch on the throttle.

Regarding the China Hat, there are a few things to know. Firstly, there are 2 alternative mappings to this switch depending on if you set CruiseOnThrottle to be active. If you take a look at the reference map for the throttle you will see 2 sets of mappings. By default CruiseOnThrottle is on, so this means the FSD is enabled by holding down Pinky Trigger and moving throttle to 100%. Instead of having it also mapped to China Hat, this is reconfigured to have Orbital Lines (Up) & Next In Route (Down). These can do nothing depending on the status in game (ie need to be in supercruise to see Orbital Lines and need Route plotted to reacquire target.

If you prefer the FSD on the China Hat, you can change CruiseOnThrottle to 0 in the User Preferences section and then it will map the other settings, but I would definintely recommend giving it a try first. It is very natural once you get used to it.

Cheers!
AD

Sorted. Full uninstall re-install of drivers and TARGET didn't do it, and device analyser looked ok. Only when I looked at the Combined Joystick cpl rather than individually did I notice things were wrong. So did a calibrate of the combined device with TARGET running and it came good!

Thanks for your patience!
 
Hello Aussiedroidm :)

Thanks for all the hard work you put in this and thanks for helping us. I must say that even your manual is clear, full of details and user-friendly.
I managed to install the script but I'm stuck on a problem I'm unable to solve.

I use my Warthog with the Thrustmaster TFRP pedals. So, it is Thrusmaster all right, but I'm not sure if they are what you call TM T16000 pedals (which is a joystick according to google ?).

Anyway, in the user settings, I used 'define UseRudders 0' and I was unable to configure my pedals (JOYSTICK Z-AXIS) in the "controls => yaw" menu in ED : the game simply doesn't "see" that I'm pushing the controls. As soon as I select another profile though, my pedals are recognized, even without relaunching the game.

I tried to set 'UseRudders' to 1 and 2. In both case, the script will compile but will crash on running with this message "Runtime Error: Symbol not found: TFRPRudder in main ( line 58 in AD_EliteDangerous_v2.4.1.tmc )".

What am I doing wrong here ?

Thanks in advance !

PS : I'm totally unfamiliar with the TARGET software, so the problem is probably on my end.
PS2 : controls settings have always been kinda dodgy in E : D and maybe you should tell the readers to backup their binds file before anything. Just in case ED decide to mess with the original config.
 
Last edited:
My Don! Forgive Me!! *Bends over and kisses the ring* :p

All is forgiven!

If I understand where you remapped the Reverse, that should be fine, but it would be taking out the push-to-talk for the mic (not a big issue for a lot of players but just mentioning).

If I can offer another solution to consider, which would allow you to use Forward Only still but also have access to the other Throttle modes if you wanted to change later. Moving the Throttle 3-way switch up, you can use the reverse thruster on the index finger hat switch on the throttle. Its not a dedicated reverse but still offers digital reverse inputs. I use a full range myself, its hard to get used to but removes the need for a switch.

I don't use the microphone at this time, but that's something to consider if I ever go back to civiisation and want to do wing stuff.

I'll try out the reverse you suggest, the reverse switch works but it's a stiff switch where I have it and not always responsive first time, your way could well be better.

I'm used to full range with a detente, full range without feels odd and I keep missing the dead zone!

Haha, yeah I know what you mean with the hat switch. Technically towards you is down in relative position to your hand, so the thrusters are mapped accordingly. If you just wanted to change the directions, rotating them 90 degrees that should not cause any issues (and think that you can get away with that just mapping in ED). Moving them to another hat switch all together, that might be complicated.

Cheers,
AD

I spent a few hours on Friday night hard at it with the bindings open on two monitors, playing on another and the muscle memory is starting to kick in, so the hat switch orientation is starting to relate to function, not direction, which clears up the issue, it's surprising how quickly you get used to things!

Planning a VA set up session tonight to reassign commands according to your keyboard layout as I had customised it a bit, I think between the two I'll be back in full command soon.

And just a final reminder - I really appreciate your work, I hope that that is not being detracted from at all by the couple of minor issues I had!

Salut!
 
Back
Top Bottom