Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3735267 - 02/14/13 07:29 AM Combining joystick and throttle into one virtual device - Can this be disabled?  
Joined: Sep 2011
Posts: 5
Crescendo Offline
Junior Member
Crescendo  Offline
Junior Member

Joined: Sep 2011
Posts: 5
Hello all,

I am currently trying to create an automatic countermeasures dispensing program using TARGET for the F-15 in FC3.

I have figured out how to do this, but whenever I run my TARGET script, TARGET combines my joystick and throttle into one virtual device. I don't want it to do this because my controls are configured directly in FC3 using the individual joystick and throttle. When I open the FC3 controls menu my control bindings for the individual joystick and throttle no longer appear. Technically, this is because there is no seperate joystick and throttle anymore, just a new device that requires its own configuration.

I suppose I could rebind all my controls with the virtual device in mind, but that is painful and I don't want to do it if I don't have to. The simplest solution for me is to turn off the 'combining' feature of TARGET.

Can it be done?

Thanks. smile

Inline advert (2nd and 3rd post)

#3735274 - 02/14/13 08:56 AM Re: Combining joystick and throttle into one virtual device - Can this be disabled? [Re: Crescendo]  
Joined: Dec 2006
Posts: 418
SAPPER Offline
Member
SAPPER  Offline
Member

Joined: Dec 2006
Posts: 418
Portugal
Sorry unfortunatly no. But you can, depending on your programing needs, program just one of the controlers in target. The device name will allways be Thrustmaster Combined.

Last edited by SAPPER; 02/15/13 09:18 AM.
#3735781 - 02/15/13 06:02 AM Re: Combining joystick and throttle into one virtual device - Can this be disabled? [Re: SAPPER]  
Joined: Sep 2011
Posts: 5
Crescendo Offline
Junior Member
Crescendo  Offline
Junior Member

Joined: Sep 2011
Posts: 5
Thanks for the confirmation, SAPPER.

#3735838 - 02/15/13 09:17 AM Re: Combining joystick and throttle into one virtual device - Can this be disabled? [Re: Crescendo]  
Joined: Dec 2006
Posts: 418
SAPPER Offline
Member
SAPPER  Offline
Member

Joined: Dec 2006
Posts: 418
Portugal
Actually sorry for the post beeing so badly writen, but I was standing up holding a baby! smile going to edit now.

#3897197 - 01/17/14 10:41 PM Re: Combining joystick and throttle into one virtual device - Can this be disabled? [Re: Crescendo]  
Joined: Jun 2008
Posts: 7
Madog Offline
Junior Member
Madog  Offline
Junior Member

Joined: Jun 2008
Posts: 7
Hey,
a little late to the party, but...
You can change the title of the one virutal device there is. Look into the target.tmh file.
Around line 190 you'll finde this line:
if(cfg & CREATE_JOYSTICK) PlugGame(&virtualj, "Thrustmaster Combined");
The string quotes is what the virtual device will be called. So, if you include one the joystick in your programming and rename this string to "Joystick - HOTAS Warthog", after starting the script your joystick still will be called Joystick - HOTAS Warthog, just as in DX mode.

Have fun.

#3898574 - 01/20/14 03:11 PM Re: Combining joystick and throttle into one virtual device - Can this be disabled? [Re: Crescendo]  
Joined: Oct 2010
Posts: 83
Nicu Offline
Junior Member
Nicu  Offline
Junior Member

Joined: Oct 2010
Posts: 83
You can do what you want by configuring the devices in main() function:

Code:
int main()
{
	Configure(&Joystick, MODE_EXCLUDED);
	Configure(&Throttle, MODE_EXCLUDED);
	if(Init(&EventHandle)) return 1;
...



Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
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
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0