Forums » Technology » Flight Sim Controllers » T.A.R.G.E.T. (Thrustmaster) » Sending multiple down-up key presses during button hold? Active Topics You are not logged in. [Log In] [Register User]
Topic Options
Rate This Topic
Hop to:
#3938268 - 04/12/14 10:19 AM Sending multiple down-up key presses during button hold?
DarkFib3r Offline
Junior Member

Registered: 01/16/14
Posts: 38
I am wondering how you set up a button to send multiple endless pulses on a button press, stopping when the button is released.

For example, I want to push a button and have it send a key press, let's say the letter 'u', multiple times for as long as the button is held with, let's say, 10 milliseconds of spacing between each press. When pressing the button, I want to see u...u...u...u...u... until I let go.

Please note that simply holding the key press down will not suffice as the command I am trying to execute needs a unique key press per level of state. Furthermore, a chain may not work because I may need to send 3 presses or 5 presses, or 12 presses, depending on how long I want to hold the button down.

I am confident that TARGET can do this, but I have not yet figured out how. Any help is appreciated!


Top
#3940724 - 04/17/14 11:49 AM Re: Sending multiple down-up key presses during button hold? [Re: DarkFib3r]
DarkFib3r Offline
Junior Member

Registered: 01/16/14
Posts: 38
I received a reply on this post in the BMS forums and wanted to share it here to close off this loop:

Quote:
...I wanted to map my field of view zoom to my hat switch in BMS and the following works like a charm:

MapKey(&Joystick,H1U,REXEC(56, 50, "ActKey(KEYON+PULSE+L_CTL+L_SHIFT+L_ALT+USB[86]);"));
MapKey(&Joystick,H1D,REXEC(57, 50, "ActKey(KEYON+PULSE+L_CTL+L_SHIFT+L_ALT+USB[87]);"));


I hope this helps someone else wanting to do something similar.


Edited by DarkFib3r (04/17/14 02:26 PM)

Top

Topic Options
Rate This Topic
Hop to:

Moderator:  RacerGT 
 
Quick Search
Recent Articles
Support SimHQ with these links


Social


Recent Topics
U-Play Cloud Sync = Cloud Suck!
by Jedi Master
Cliffs of Dover & Windows 8 help needed please
by davidno15
And people say Baseball is boring.....
by Jayhawk
08:58 AM
My son took this photo yesterday...
by MaceUK33
08:36 AM
Military Monday - 21st April
by Meatsheild
03:19 AM
any one know good resources for DIY bass shakers / butt kickers?
by hannibal
12:43 AM
Bad Tactics Make Widows. And Great Pictures.
by JC______
10:45 PM
...and i thought it was a myth
by Stormtrooper
09:14 PM
Creating missions in FSX
by jenrick
08:53 PM
New to COD: Team Fusion mod file question
by Coot
06:53 PM
 

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