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