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
.
Social


Recent Topics
Thoughts on the Windows 8 Tablets ?
by Harry-the-Ruskie
'Sir, You Are Being Hunted Milestone'. Coming out of Early Access May 1st
by Harry-the-Ruskie
How do we even make it through a normal day?
by David Kennard
Future Game innovations.
by marko1231123
08:44 PM
This is Why I Don't Play Multiplayer....
by PFunk
07:21 PM
AMD Driver Release Candidate 14.4 Trashed My System
by Allen
07:05 PM
Flying Lucky series
by Snapdad2112
06:57 PM
Blue Angels - first person view - how close is close enough?
by David Kennard
05:24 PM
ANZAC
by Smiladon
05:06 PM
Journal films on Youtube.
by Immermann
05:02 PM
 

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