Jump to content

Questions about T.A.R.G.E.T scripting


Recommended Posts

Just started to learn T.A.R.G.E.T scripting (TM Warthog) but I have a few questions for anyone with more experience:

 

1. When I "Run" the script and the devicers gets unplugged and then re-plugged, along with the virtual device, the flight stick often gets disconnected. Stopping the script doesn't help but physically unplugging/plugging the stick helps (but stops the scipt). I have this included in my script, for axis mapping:

 

MapAxis(&Joystick, JOYX, DX_X_AXIS);

MapAxis(&Joystick, JOYY, DX_Y_AXIS);

MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS);

MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS);

 

2. I understand how to generate keyboard events from HOTAS events but is there a way to do the opposite? I.e. can I trigger HOTAS events (such as changing the LED backlight intensity) using my keyboard?

 

3. I would like to use short / long press för the DMS switch so that long presses = sensor select and short press for FLIR Point/Area track etc. I can't find any keys for Point/Area track though. Can that be done?

 

Cheers,

Mog


Edited by moggel

i7-3930K CPU @ 3.20GHz; 16Gb DDR3; GeForce GTX 1070; Windows 10; TM Warthog HOTAS

Link to comment
Share on other sites

  • Recently Browsing   0 members

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