Page 1 of 1

Auto Sprint Macro

Posted: Thu Jul 30, 2020 12:24 pm
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.

Re: Auto Sprint Macro

Posted: Thu Jul 30, 2020 9:07 pm
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