Forums » Technology » Flight Sim Controllers » T.A.R.G.E.T. (Thrustmaster) » Pinky-Switch Active Topics You are not logged in. [Log In] [Register User]
Topic Options
Rate This Topic
Hop to:
#3125601 - 10/28/10 11:05 AM Pinky-Switch
peko Offline
Junior Member

Registered: 08/27/10
Posts: 24
Hi,
how do I formulate this so it works?

#--Foxy--#

DEF X18 X19 AND (NOT S3)
BTN X18 Pinky_Switch
BTN S3 KD(X19) DLY(200) KU(X19)

Short press pinky
Longer press shift

#--Target--#

SetShiftButton(&HCougar, S3, &HCougar, T7, T8); and ???????


Top
#3125617 - 10/28/10 11:24 AM Re: Pinky-Switch [Re: peko]
Dimebug Offline
Member

Registered: 09/18/10
Posts: 103
Loc: France
You'd better describe what you want to do, copy and paste from the cougar stuff isn't the right way. Your example will be more clear of other readers too.
_________________________
Guillaume "Dimebug" Leleve

Top

#3126158 - 10/29/10 12:52 AM Re: Pinky-Switch [Re: peko]
Feed Offline
Junior Member

Registered: 10/28/10
Posts: 54
peko, you want button S3 to do one function when you first press it, and only "become" the shift (I/O) button if it's held down?

As Dimebug said, you'll have to clarify what you're trying to do. It seems to me that simply defining S3 with an event and as the shift button would work, unless you don't want it to perform any function at all if you've pressed it to use as shift, and if that's the case you'll have to tie the 'short press' function to the release event (if released before it 'becomes' the shift button, then perform the short press function).

I'm a little rusty on the FOXY programming, and I've only just started dabbling with TARGET, so I'm afraid that's the best I can offer at the moment.

Top
#3126199 - 10/29/10 03:08 AM Re: Pinky-Switch [Re: Feed]
peko Offline
Junior Member

Registered: 08/27/10
Posts: 24
Feed, thank's for reply.

Originally Posted By: Feed
peko, you want button S3 to do one function when you first press it, and only "become" the shift (I/O) button if it's held down?


Yes,
S3 Short press a command.
S3 Hold key shift function

I think I solved it.
I'm beginning to understand the target programming, slowly.
But there is still a long way.

Top
#3127611 - 10/31/10 12:52 PM Re: Pinky-Switch [Re: peko]
Wolf_101 Offline
Junior Member

Registered: 09/29/10
Posts: 1
Would you care to show your solution please?
I have the same problem right now with the S3 button..

Thanks,

Top
#3127615 - 10/31/10 01:03 PM Re: Pinky-Switch [Re: Wolf_101]
Nicu Offline
Junior Member

Registered: 10/31/10
Posts: 40
SetShiftButton(&HCougar, S3, &HCougar, T7, T8);
MapKey(&HCougar, S3, TEMPO(Pinky_Switch, 0));

Top
#3127665 - 10/31/10 03:05 PM Re: Pinky-Switch [Re: peko]
peko Offline
Junior Member

Registered: 08/27/10
Posts: 24
Hi Wolf_101

Nicu's script works. yep


Edited by peko (10/31/10 03:06 PM)

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.