Forums » Technology » Flight Sim Controllers » FOXY (Thrustmaster Cougar) » Driving me Nuts! Active Topics You are not logged in. [Log In] [Register User]
Topic Options
Rate This Topic
Hop to:
#3396567 - 09/23/11 07:41 PM Driving me Nuts!
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Trying to update a program and add a command "LALT /H q." The command name is "Bomb_Release." Keep getting this frustrating error:

ERROR 2020: Unknown key press in a button statement
The compiler couldn't work out what key you were trying to generate. Some reasons why you might see this error include:
1.) Incorrect key syntax eg. UAROW instead of UARROW
2.) Macro spelling differs from the macro in the macro file (I see this one a lot in files sent to me!). So if in your macro file you have:
Attack_my_target = a b c d
and in your joystick file:
BTN H4U Atack_my_target Rem Incorrect spelling
BTN H3L Attack my target Rem Compiler will think this is 3 separate macros as spaces aren't allowed in macro names.
then you'll generate this compiler error.
3.) The macro actually doesn't exist in your macro file. Eg.
BTN S1 Autopilot
but you don't have a macro defined for Autopilot in your macro file.
4.) You can see from above that a good reason why you might see this error is because the macros in the joystick file aren't being found in your macro file. They could be misspelled. But it could also be that you haven't told the compiler which macro file to associate with your joystick file. So either you do not have a:
USE MDEF macrofilename
statement in your joystick file, or if you do, it could be pointing to the wrong macro file.
5.) A macroname may break one of the macro naming rules. Eg.
Autopilot] = a
would generate this error because a macroname cannot start with [.


Top
#3396642 - 09/23/11 09:59 PM Re: Driving me Nuts! [Re: TheSilkMan]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Alright, figured it out the LALT already has the hold modifier built into it. So, LALT /H q should be LALT q. DUH!

Top

#3396682 - 09/24/11 01:00 AM Re: Driving me Nuts! [Re: TheSilkMan]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Ok, either I'm just a nut or this is freakin hard to do. I just want to program the right-alt key along with an alphabet letter to a command and assign it to the T1 button. I mean, really, I program and dont get this. Either the key sticks adinfinitum or it doesnt work. When I press the T1 I want those keys held down. When I release the T1 I want those keys released. I dont want the keys repeating. I've used Korgy with and the KD, KU modifiers but it causes sticky keys when KD is used alone or a press and release when the KD KU combo is used. What am I missing? I tried doing it with the LALT and /H and it crashes the compiler. Dang, I'm using version 4.0 of Foxy. Why cant Key presses from the keyboard to realtime record the command to be assigned to key? I thougtht that perhaps Korgy would allow me to use the real keyboard to do this but it doesnt. The CNTRL, SHFT and ALT Keys are present in Korgy and give the desired result but only for the left side of the keyboard. Im trying to do the same thing but using the right side keys. Ok, spent 6-hours learning this and am frustrated...

Top
#3470465 - 12/08/11 05:16 PM Re: Driving me Nuts! [Re: TheSilkMan]
Nutty Offline
Member

Registered: 11/05/99
Posts: 527
Loc: Bristol, England
BTN T1 /H { RALT w }
_________________________
James "Nutty" Hallows
E-mail: nutty@viperdrivers.org

ViperDrivers

Top
#3470485 - 12/08/11 05:46 PM Re: Driving me Nuts! [Re: TheSilkMan]
531 Ghost Online   sleepy
USMC
Veteran

Registered: 09/17/02
Posts: 10449
Loc: Elizabeth City NC
Saw the thread title, I knew Nutty would have to reply. wink
_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3481388 - 12/26/11 05:38 AM Re: Driving me Nuts! [Re: TheSilkMan]
Nutty Offline
Member

Registered: 11/05/99
Posts: 527
Loc: Bristol, England
Apologies, I rarely visit here these days as I'm busy on other forums.

Cheers

Nutty
_________________________
James "Nutty" Hallows
E-mail: nutty@viperdrivers.org

ViperDrivers

Top
Topic Options
Rate This Topic
Hop to:

Moderator:  531 Ghost, RacerGT 
 

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