Forums » Technology » Flight Sim Controllers » FOXY (Thrustmaster Cougar) » Programming help. Active Topics You are not logged in. [Log In] [Register User]
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:
#3213125 - 02/20/11 04:27 PM Programming help.
Jaeger Offline
Junior Member

Registered: 01/31/07
Posts: 46
Hi;

I need help for programming my T6 button.What I want to program is when I press T6 it must emulate a keypress on the numpad,hold it pressed down until I press the T6 for a second time.

Can anybody help?

Thanks.


Top
#3223637 - 03/03/11 04:29 PM Re: Programming help. [Re: Jaeger]
Nutty Offline
Member

Registered: 11/05/99
Posts: 527
Loc: Bristol, England
BTN T6 /T KD (KP6) /T KU (KP6)

Be careful with such a statement. If you don't use it properly you'll end up generating a stuck key which your sim and Windows won't appreciate!

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

ViperDrivers

Top

#3223715 - 03/03/11 05:52 PM Re: Programming help. [Re: Jaeger]
Jaeger Offline
Junior Member

Registered: 01/31/07
Posts: 46
Thanks; I'll test and reply back.


Edited by Jaeger (03/03/11 05:55 PM)

Top
#3224019 - 03/04/11 02:58 AM Re: Programming help. [Re: Jaeger]
Jaeger Offline
Junior Member

Registered: 01/31/07
Posts: 46
It works great! Thanks again.

Top
#3397120 - 09/24/11 09:18 PM Re: Programming help. [Re: Jaeger]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
"Be careful with such a statement." I learned this the hard way Nutty! But thanks for the text that binds that T6. I just had to leave it alone last night since everything I tried did not work.

Top
#3397121 - 09/24/11 09:22 PM Re: Programming help. [Re: Jaeger]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Question though, can "KP6" in the statement "BTN T6 /T KD (KP6) /T KU (KP6)" be substituded with any of the macro names that you have created?

Top
#3397129 - 09/24/11 09:40 PM Re: Programming help. [Re: Jaeger]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Something like: Cage = /T KD(RSHF u) /T KU (RSHF u)

BTN T1 Cage

Top
#3397134 - 09/24/11 09:52 PM Re: Programming help. [Re: Jaeger]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Cage = /T KD(RSHF u) /T KU (RSHF u)

BTN T1 Cage

Ok, just tried it and it works, almost. That is, what I'd like is for the key be depressed and held in order for the cage to be bound. Upon release of the key, for it to stop. The above statement activates the cage when pressed but when you release the button it stays active until you press it again. What I'm looking for is the effect of a spring like button: with pressure it opens, without pressure it springs closed. So press the button the function is active until you take your finger off the button. Any suggestions Nutty?

Top
#3397142 - 09/24/11 10:06 PM Re: Programming help. [Re: Jaeger]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Ok. I just nailed it:

Cage = /P KD(RSHF u) /R KU (RSHF u)
BTN T1 Cage

Whew, wish we had more examples in the online help. I blew all Friday trying to figure that out... :+(

Top
#3397158 - 09/24/11 10:41 PM Re: Programming help. [Re: Jaeger]
TheSilkMan Offline
Member

Registered: 09/02/06
Posts: 219
Again, spoke too soon. Works on T1 throttle button, works in notepad. But undesired effects in a game and in windows. What is happening is the the key continuously repeats quickly on and off in the game. What I want is a true binding of key down just like if you hold it with your fingers on the keyboard. And key up when you release. Not sure if some sort of Direct X binding is the only thing that would get the desired spring-loaded button effect. If you are required to hold a button down to cage a missle you dont want it quickly uncaging until you release the button. Using /T toggle causes the rapid KD, KU repeating. So does the /P and /R. However, if I do it manually using the keyboard while in a game it acts like a real button down while held down and release when I take my fingers off the buttons.

Coming out of a game after using the programming and going into a word processor or windows results in weird mouse functionality. The mouse highlights everything when you click on something.
turning button and mouse emulation off doesnt stop it. Only rebooting does. frown

Top
Page 1 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.