Page 1 of 1

Simple Macro Help?

Posted: Sun Apr 21, 2013 5:17 pm
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

Re: Simple Macro Help?

Posted: Mon Apr 22, 2013 7:06 am
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.