Forums » Technology » Flight Sim Controllers » T.A.R.G.E.T. (Thrustmaster) » HOLD Command??? Active Topics You are not logged in. [Log In] [Register User]
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
Hop to:
#3530747 - 03/02/12 03:34 PM Re: HOLD Command??? [Re: The Nephilim]
The Nephilim Offline
S3D GuRu
Senior Member

Registered: 01/26/02
Posts: 3994
Loc: 3rd Stone from the Sun !!
OK I got it fixxed seems it worked all along just not like I thought it was going to work in the Event Tester..

What it does if you input a Hold Command it will show the Amount of time you hel the Joystcikbutton in Milliseconds to show it is Holding it will NOT REPEAT on the screen under the event tester..

So it works I tried it in the Game and my LANTRIslews like it is supposed too..

THNX for the Help. I think I am going to use this VS Foxy as I do NOT need to get the Cougar DRIVER PRogram running which is a PITA!!



EDIT: I need to figure out how to get the Mouse working on the Throttle that is the RDR Cursor...


Edited by The Nephilim (03/02/12 04:02 PM)
_________________________
Intel i5 3570K @ 4.10ghz / Corsair XMS 8gb / CM Hyper 212+ Heatsink & DualFan / Asus P8Z68-V Gen3 Mobo / 2- Evga 660GTX's SLI / RocketFish SC 7.1 / 3 - Sharp DLP XR-10XL's / 3 - 45" Screens w/Screen Goo / nVidia 3D vision / Win7 64bit OS / ThrustMaster Cougar HOTAS w/CH Rudder Pedals / Cougar MFD's / CM HAF 932 Full Tower / Boatload of Joy


Top
#3530876 - 03/02/12 06:22 PM Re: HOLD Command??? [Re: The Nephilim]
The Nephilim Offline
S3D GuRu
Senior Member

Registered: 01/26/02
Posts: 3994
Loc: 3rd Stone from the Sun !!
Well from what they say I can ONLY PRogram the Mouse with an X or Y axis so that rules using the Cursor control..but in TARGET they have the CRS that can be assigned the Mouse X&Y Axis but It does NOT seem to work?? How can I get the Mouse Cursor assigned to the RDR Cursur button on the Cougar throttle??

I also have a new Problem now.. I made a Profile for BMS 4.32 and when I run it TARGET tells me I have a error in line 21?? Where does line 1 Start or where is line 21 at??


HERE IS THE EXACT CODE ERROR TARGET GIVES:


Compile Error: struct field expected in Falcon 4 BMS 4.32.tmc at line 21



Code:
include "target.tmh"
int main()
{
	Configure(&Joystick, MODE_EXCLUDED);
	Configure(&Throttle, MODE_EXCLUDED);
	Configure(&T16000, MODE_EXCLUDED);
	Configure(&LMFD, MODE_EXCLUDED);
	Configure(&RMFD, MODE_EXCLUDED);
	if(Init(&EventHandle)) return 1;
	SetKBRate(32, 50);
	SetKBLayout(KB_ENG);
	SetShiftButton(&HCougar, T1, 0, 0, 0, IOTOGGLE);
	MapKeyIOUMD(&HCougar, TG1, '/', 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, S2, PULSE+SPC, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, S4, PULSE+BSP, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, S1, PULSE+ENT, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, H2U, PULSE+L_SHIFT+KP8, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, H2R, PULSE+L_SHIFT+KP6, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, H2D, PULSE+L_SHIFT+KP2, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, H2L, PULSE+L_SHIFT+KP4, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T1, PULSE+KP., PULSE+KP., 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T2, DARROW, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T3, UARROW, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T4, RARROW, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T5, LARROW, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T6, L_ALT, 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T7, PULSE+'d', 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T8, PULSE+'j', 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T9, L_CTL+'b', 0, 0, 0, 0, 0);
	MapKeyIOUMD(&HCougar, T10, 'b', 0, 0, 0, 0, 0);
	MapAxis(&HCougar, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, JOYX, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, JOYY, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, RUDDER, 0, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, RUDDER, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, THROTTLE, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, THROTTLE, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, ANT_ELEV, DX_THROTTLE_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, ANT_ELEV, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, MAN_RNG, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, MAN_RNG, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, RDR_X, 0, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, RDR_X, 0, 0, 0, 0, 0);
	MapAxis(&HCougar, RDR_Y, 0, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&HCougar, RDR_Y, 0, 0, 0, 0, 0);

}
int EventHandle(int type, alias o, int x)
{
	DefaultMapping(&o, x);
}


Edited by The Nephilim (03/02/12 06:53 PM)
_________________________
Intel i5 3570K @ 4.10ghz / Corsair XMS 8gb / CM Hyper 212+ Heatsink & DualFan / Asus P8Z68-V Gen3 Mobo / 2- Evga 660GTX's SLI / RocketFish SC 7.1 / 3 - Sharp DLP XR-10XL's / 3 - 45" Screens w/Screen Goo / nVidia 3D vision / Win7 64bit OS / ThrustMaster Cougar HOTAS w/CH Rudder Pedals / Cougar MFD's / CM HAF 932 Full Tower / Boatload of Joy

Top

#3530943 - 03/02/12 07:42 PM Re: HOLD Command??? [Re: The Nephilim]
Teej Offline
Member

Registered: 07/02/05
Posts: 1503
Neph...I'm sorry I ever had you do that 'view script' thing, it was just a diagnostic.

When you're working in GUI, what you see there in the "script" format is 100% irrelevant. Line 21 has absolutely zero to do with that file you pasted.

That said, I know exactly what your problem is.

***IN THE GUI, NOT IN THAT SCRIPT FILE*** go to the mapping where you define trigger stage 1 to the '.' on the keypad. Go into the virtual keyboard and click the "use USB codes" checkbox. So far as I know that's only required for using the numeric keypad '.' button.

Just a little bug.
_________________________
Virtual Thunderbirds, LLC | Sponsored by Thrustmaster

Top
#3530959 - 03/02/12 08:03 PM Re: HOLD Command??? [Re: The Nephilim]
The Nephilim Offline
S3D GuRu
Senior Member

Registered: 01/26/02
Posts: 3994
Loc: 3rd Stone from the Sun !!
OK Will NOT post Script unless asked I thought there was valuable info there that would be needed,, hehe!!

Now that seemed to make the Profile launch but I am unable to get any of the Keypresses on the stick to work.. I load the BMS 4.32 Profile goto test it and no keypresses work?? they are programmed just none are working??


I just checked the TAW Profile that works NP's??? I have no idea what could be wrong perhaps a wrongly programmed key or similar??


Edited by The Nephilim (03/02/12 08:30 PM)
_________________________
Intel i5 3570K @ 4.10ghz / Corsair XMS 8gb / CM Hyper 212+ Heatsink & DualFan / Asus P8Z68-V Gen3 Mobo / 2- Evga 660GTX's SLI / RocketFish SC 7.1 / 3 - Sharp DLP XR-10XL's / 3 - 45" Screens w/Screen Goo / nVidia 3D vision / Win7 64bit OS / ThrustMaster Cougar HOTAS w/CH Rudder Pedals / Cougar MFD's / CM HAF 932 Full Tower / Boatload of Joy

Top
#3530986 - 03/02/12 08:58 PM Re: HOLD Command??? [Re: The Nephilim]
Teej Offline
Member

Registered: 07/02/05
Posts: 1503
Sorry - I thought you were looking for "line 21" in the script...that was my concern. biggrin

Stunningly, I don't have any Falcon installed right now...but I know it works in concept as I wrote a very Jagstang-like profile for F4AF with the Warthog.

T
_________________________
Virtual Thunderbirds, LLC | Sponsored by Thrustmaster

Top
#3531000 - 03/02/12 09:22 PM Re: HOLD Command??? [Re: The Nephilim]
The Nephilim Offline
S3D GuRu
Senior Member

Registered: 01/26/02
Posts: 3994
Loc: 3rd Stone from the Sun !!
Well I guess Ill just start from scratch with the F4 Profile,,, Crap!!



Edited by The Nephilim (03/03/12 06:59 PM)
_________________________
Intel i5 3570K @ 4.10ghz / Corsair XMS 8gb / CM Hyper 212+ Heatsink & DualFan / Asus P8Z68-V Gen3 Mobo / 2- Evga 660GTX's SLI / RocketFish SC 7.1 / 3 - Sharp DLP XR-10XL's / 3 - 45" Screens w/Screen Goo / nVidia 3D vision / Win7 64bit OS / ThrustMaster Cougar HOTAS w/CH Rudder Pedals / Cougar MFD's / CM HAF 932 Full Tower / Boatload of Joy

Top
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
Hop to:

Moderator:  531 Ghost, RacerGT 
 

Forum Use Agreement | Privacy Statement
Copyright 1997-2013, SimHQ Inc. All Rights Reserved.