Jump to content

TARGET PROGRAMMING: multiple press to get different key binds


Recommended Posts

Posted

is there a way to press the same button multiple times to get different key binds.

ie

1 st press activate N

2nd press activate M

3rd press activate G

 

I understand the various layers and IO sublayer.

BUT

not the multiple press thing.

 

Could someone show an example how it can be done?

thanks

Posted

If you just need the same sequence every time then use the SEQ command

SEQ(PULSE+’n’, PULSE+’m’, PULSE+’g’)

Add the MAPKEY you want before it and on 1st press you get n, next press m and next press g, you have to finish the sequence each time, for it to cycle back to ‘n’ again. Hope this helps

Asus ROG IX | Intel i7-9700K | RTX 2080TI | G.SKILL 32GB DDR4 3200MHz RAM | Samsung 970 EVO 2TB M2 | LG 43” 4K Monitor | TrackiR | Stream Deck XL | Warthog HOTAS | Cougar MFDs x 3 | Saitek Rudder Pedals | Logitech G13| Corsair Virtuoso Wireless Headset |

Posted

thanks guys

 

Sorry I forgot to mention I was only using the TARGET GUI.

The scripting is too difficult for me.

Thus far, i managed the Upper, Middle, Down layers, as well as the IO sublayer.

( took me a while)

 

For the sequence, can i skip press N and go straight to press M, ( in this example )

1 st press activate N

2nd press activate M

3rd press activate G

 

ie, press twice to get only M

Posted
thanks guys

 

Sorry I forgot to mention I was only using the TARGET GUI.

The scripting is too difficult for me.

Thus far, i managed the Upper, Middle, Down layers, as well as the IO sublayer.

( took me a while)

 

For the sequence, can i skip press N and go straight to press M, ( in this example )

1 st press activate N

2nd press activate M

3rd press activate G

 

ie, press twice to get only M

 

Ah that is a "multi tap", not really a sequence anymore. I do not know how to do that with Target Script Editor, and even less with the GUI. However, I know we can do multi tap (Only two tap I think) with Joystick Gremlin.

https://whitemagic.github.io/JoystickGremlin/overview/

 

And I also know how to do multi tap, as much tap as you want, thanks to autohotkey. Buyt here it is really script.. And I can only remap to keyboard command. It might be possible to remap to Vjoy button which would be cleaner but I haven't looked into that yet.

 

$f1::

{

count++

settimer, actions, 333

}

return

 

actions:

{

if (count = 1)

{

send {F1}

}

else if (count = 2)

{

send {F2}

}

else if (count = 3)

{

send {F3}

}

count := 0

}

return

Posted

In TARGET GUI you put the DOT on the Sequence Circle on the Command creation box and then Create a separate command for each keypress on your sequence all commands on assigned to the same button of course. Hope that made sence.

Posted

would sequence mean

it will cycle through EACH and every one of those mapping?

 

What I need is to jump to 2nd without going through 1st?

 

I tried that

and it seems to cycle through each and every one of the presses. ie, will activate 1stm,2nd and then 3rd bindings.

Posted
would sequence mean

it will cycle through EACH and every one of those mapping?

 

 

Yes

Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...