Auto Sprint Macro

Need help? Ask here and someone will help
Post Reply
YellowBull
Posts: 1
Joined: Thu Jul 30, 2020 12:10 pm

Auto Sprint Macro

Post by YellowBull »

GIMX Team,

I am having a hard time getting my simple macro to work. I searched the forums and didn't find my answer. I tried mapping one key to multiple buttons, but I couldn't get it to work so I decided to try a macro. If this "auto-sprint" works without a macro, please let me know.

I want to press "e" on my keyboard and send two actions as a joystick (XInput Controller). First event is to walk forward (JAXIS lstick up) on the left stick and the second event is to push the a button to initiate sprint (JBUTTONDOWN 0).

MACRO KEYDOWN e
JAXIS lstick up
DELAY 10
JBUTTONDOWN 0

I would appreciate any ideas or suggestions.

Thank you.

Cybereu
Posts: 147
Joined: Sun Jul 10, 2011 1:10 pm

Re: Auto Sprint Macro

Post by Cybereu »

You can assign more the one key to one button and vice versa on Gimx-config.
Your macro seems to have syntax error

Code: Select all

JAXIS <ID> <value>
<ID> as displayed in gimx-config
<value> is something between -32768 and 32767

Post Reply