Simple Macro Help?

Need help? Ask here and someone will help
Post Reply
Headcrash
Posts: 1
Joined: Sun Apr 21, 2013 5:13 pm

Simple Macro Help?

Post by Headcrash »

I would like to make a simple Macro for using my USB 360 Controller with GIMX on Ubuntu.

I just want to press Y on my 360 controller and for it to play a single macro for Rotating the Left Analogue Stick, (Left, Down, Right Up,) and then Triangle in one press.



So when i press Y.

It will input - Rotate Left stick once + Triangle.

So every time i press Y it will do that once.

So if i Bind the Joystick's buttons as normal apart from NOT having anything bound to my Macro Activation button. If i bind the Left stick to UP,DOWN,LEFT and RIGHT on my Keyboard and Triangle to "P" on the keyboard...

Will this work:

Code: Select all

MACRO JBUTTONDOWN 1
KEYDOWN UP
DELAY 10
KEYDOWN LEFT
DELAY 10
KEYUP UP
DELAY 10
KEYDOWN DOWN
DELAY 10
KEYUP LEFT
DELAY 10
KEYDOWN RIGHT
DELAY 10
KEYUP DOWN
DELAY 10
KEYUP RIGHT
DELAY 10
KEYDOWN p
DELAY 100
KEYUP p
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Simple Macro Help?

Post by Matlo »

It will depend on the game.

A delay of 10/20 ms may be to low for the game to register the input.
GIMX creator
Post Reply