Jump to content

Recommended Posts

Posted

Hi I want to mount the warthog stick with a 15 degree offset to the left to accommodate center mounting. I do not want to lose the plug and play profile capability that comes with the TMWH and DCS A10...

 

Thrustmaster Tech support tells me that I can adjust the rotation in the Target GUI but they do not say how other than use the green arrow.

 

"However, this can also be achieved by using the TARGET GUI, by clicking on the green arrow next to each axis in the axis selection window."

 

I want to offset the rotation of stick without having to reprogram every command for use in DCS A-10.

 

Any suggestions?

 

Thanks!

Lobo's DCS A-10C Normal Checklist & Quick Reference Handbook current version 8D available here:

http://www.digitalcombatsimulator.com/en/files/172905/

Posted

Hello

 

You HAVE to use TARGET Script Editor no other way

 

First to rotate axis you need to add this line to your tmc file :

 

[color=#32cd32]RotateDXAxis(DX_X_AXIS,DX_Y_AXIS, -15)[/color]

Set -15 if you turn your joystick counterclockwise or 15 if you turn it clockwise

 

To not loose the warthog DX default configuration your file needs to use "Filtered Mode" to do so your TMC must start like this :

 

[color=Black]include "target.tmh"
int main()
{
   Exclude(&HCougar);
   Exclude(&Joystick);
   Exclude(&Throttle);
   Exclude(&LMFD);
   Exclude(&RMFD);

   //Ghost script mode definition
   Configure(&Joystick, MODE_FILTERED);
   Configure(&Throttle, MODE_FILTERED);
   Configure(&LMFD, MODE_FILTERED);
   Configure(&RMFD, MODE_FILTERED);
 

if(Init(&EventHandle)) return 1;

   SetShiftButton(&Joystick, S4); [/color]

and end like this :

 

[color=Black]}

int EventHandle(int type, alias o, int x)
{
   if(&o == &Joystick & !o[s4]) GameOutput(&o, x, o[x]);
   DefaultMapping(&o, x);
}[/color]

 

With the second modification the Warthog is default DX configuration and each time you press S4 it changes to Target configured mode, the problem is that i have not tested this two things mixed.

Give a try and tell me.

Posted

I think that the answer is that TM needs to get their act together and provide us with a means to program the stick and throttle without combining them or redoing the programming from scratch.

 

What I want: Two devices viewable to the computer, with DX buttons, where modifiers (paddle switch, etc) can work across the devices for programmed key commands.

 

And Foxy back. Target is as silly as the made-up acronym.

Posted
What I want: Two devices viewable to the computer, with DX buttons, where modifiers (paddle switch, etc) can work across the devices for programmed key commands.

you can already do this with filtered mode

Posted (edited)

In addition to Ice's directions, considor the below so as not to loose the 'corners':

 

--------------------------------------------------------------------------------

 

instructions for 15 degree offset with no loss of corners from simhq (http://simhq.com/forum/ubbthreads.ph...ml#Post3183284)

 

 

The full script is:

MapAxis(&Joystick, JOYX, DX_X_AXIS);

MapAxis(&Joystick, JOYY, DX_Y_AXIS);

 

SetSCurve(&Joystick, JOYX, 0,0,0,0, 0.6);

SetSCurve(&Joystick, JOYY, 0,0,0,0, 0.6);

RotateDXAxis(DX_X_AXIS, DX_Y_AXIS, -15);

 

 

Edit: Would it not be possible to use the above script with one of the WH profiles created to rfeplicate the PandP configuration for the solution? If so, I wouldnt mind shifting my stick.

Edited by hassata

[sIGPIC][/sIGPIC]

Posted
Look my first post it's all in it...

You can't find it in manual because it's a new feature not documented yet.

 

Like most of them, it seems... :mad:

 

Where are you finding this information?

 

What exactly does GameOutput() do?

 

What does the

 

Configure(&Joystick, MODE_FILTERED);

 

statements do?

 

Won't that script trigger the if() clause only when the event itself is that S4 has been pressed, 'o' passed into the event handler method presumaby being the device triggering the event?

 

I e hold S4 and press any other button and it will only do the default event handling, through the (also undocumented, to the best of my knowledge) DefaultMapping() method.

 

Could this work?


int EventHandle(int type, alias o, int x)
{
if(!Joystick[s4]) GameOutput(&o, x, o[x]);
DefaultMapping(&o, x);
}
[/Code]

  • 9 years later...
  • Recently Browsing   0 members

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