Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3140390 - 11/19/10 10:16 AM trying to use the target gui :)  
Joined: Sep 2002
Posts: 66
Macedk Offline
Junior Member
Macedk  Offline
Junior Member

Joined: Sep 2002
Posts: 66
denmark
Hi smile

Trying to map S3 and another stick button to a keystroke.

ex: S3 + H4D = keystroke space (this is just and random example :))

Also is there any documentation for the target software ?


DK Viking

PC Specs.
M/B: Asus P5Q pro
CPU Type: QuadCore Intel Core 2 Quad Q9550
Ram: Ddr2 6 Gb
Gfx: XFX 5850 1Gb black edition.
Audio: onboard
Monitor: Samsung SyncMaster T220 22" LCD
joystick: TM Warthog #1400
sys os: Win7 sp1 (64bit)
Int. spd: 20 Mbit Dwn/ 2Mbit up.
Inline advert (2nd and 3rd post)

#3140846 - 11/19/10 11:09 PM Re: trying to use the target gui :) [Re: Macedk]  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
Originally Posted By: Macedk
Hi smile

Trying to map S3 and another stick button to a keystroke.

ex: S3 + H4D = keystroke space (this is just and random example :))
Let's clarify - you want to generate a keystroke only when any two buttons are pressed? Or do you simply want to generate a keystroke when H4D is pressed when the SHIFT button (in this case S3) is already down? The former requires scripting, while the later is a simple matter in the T.A.R.G.E.T. GUI. I'll assume for the sake of simplicity that you are trying to do the latter.

Create a T.A.R.G.E.T. profile using the "Advanced" option. Map your H4D button and then select the "I" layer only. See this video for an example:


Quote:
Also is there any documentation for the target software ?
You can download the latest version of the T.A.R.G.E.T. manual (currently v1.4) here:
http://ts.thrustmaster.com/eng/index.php?pg=view_files&gid=1&fid=3&pid=311&cid=5

#3140856 - 11/19/10 11:23 PM Re: trying to use the target gui :) [Re: Macedk]  
Joined: Nov 2010
Posts: 37
hsth Offline
Junior Member
hsth  Offline
Junior Member

Joined: Nov 2010
Posts: 37
Well, if you are into mapping keys then the best advice would be to use the ScriptEditor. It makes life far more easier to program the Warthog to your liking.
And you only have to press the big ?-button to get the PDF manual that has a very detailed explanation of how it works.
Best to first have a look at one of the example files like DCS FC2 Mig29.tmc so you get an idea.

The answer in the editor for your question is that you use the MapKey command with the IO added. Then "I" stands for the shift key pressed together with another key.
The shift key has been defined to S4 in this tmc file.
For example MapKeyIO(&Joystick, H1D,View_Down_slow,
Trim_Up); gives you two different commands.
The first one works when you press the shift button together with HAT 1 down, the second works when you press HAT down without the shift key.
All the different commands you see are defined in the file fc2_MIG_29_Macros.ttm.

Hope this helps.

Sorry Joe, my answer overlapped yours. Hope it's not confusing now...

Last edited by hsth; 11/19/10 11:25 PM.
#3140952 - 11/20/10 02:26 AM Re: trying to use the target gui :) [Re: hsth]  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
Originally Posted By: hsth
Sorry Joe, my answer overlapped yours. Hope it's not confusing now...

My answer is one describing the GUI, while yours describes the Script Editor, so it works out well.

#3141137 - 11/20/10 02:31 PM Re: trying to use the target gui :) [Re: Macedk]  
Joined: Sep 2002
Posts: 66
Macedk Offline
Junior Member
Macedk  Offline
Junior Member

Joined: Sep 2002
Posts: 66
denmark
Cheers to both of you smile

looking and trying some stuff smile

forgot about I and O commands.... wink

works to my intention smile

"edit" Found the target manual smile (doh)


Last edited by Macedk; 11/20/10 03:18 PM. Reason: more info

DK Viking

PC Specs.
M/B: Asus P5Q pro
CPU Type: QuadCore Intel Core 2 Quad Q9550
Ram: Ddr2 6 Gb
Gfx: XFX 5850 1Gb black edition.
Audio: onboard
Monitor: Samsung SyncMaster T220 22" LCD
joystick: TM Warthog #1400
sys os: Win7 sp1 (64bit)
Int. spd: 20 Mbit Dwn/ 2Mbit up.

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
It's Friday: grown up humor for the weekend.
by NoFlyBoy. 04/12/24 01:41 PM
OJ Simpson Dead at 76
by bones. 04/11/24 03:02 PM
They wokefied tomb raider !!
by Blade_RJ. 04/10/24 03:09 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0