Page 1 of 1

Need help with macro

Posted: Thu May 09, 2019 10:59 pm
by acef1x
Hi, ive recenetly purchased a gimx to play ps4 games with my mouse and keyboard. So far its going great and im happy with my configuration.
I wanted to get a little more adventurous and tried making a macro after reading the gimx tutorial. I realised i have no idea what im doing and how id create what i need.
I want a to make a button on my keyboard that when pressed will very quickly and successively press the following DS4 buttons > Options, x, D pad-Up, x. I would also need another that would press > Options, x, D pad-down, x.
If you could help me do this I would greatly appreciate it as i am a bit of a novice.
Thanks

Re: Need help with macro

Posted: Fri May 10, 2019 5:54 pm
by GoDlike
Hello,

Here are examples and documentation - https://gimx.fr/wiki/index.php?title=Macros

You can modify one of examples down there to work with keys you want.

Regards,
Daniel

Re: Need help with macro

Posted: Fri May 10, 2019 8:31 pm
by acef1x
Hi, thanks for your reply, here is the Macro that I tried using (I have no idea if i made it correctly)

MACRO KEYDOWN 1
KEYDOWN ESCAPE
KEYUP ESCAPE
DELAY 10
KEYDOWN SPACE
KEYUP SPACE
DELAY 10
KEYDOWN UP
KEYUP UP
DELAY 10
KEYDOWN SPACE
KEYUP SPACE

I saved the file with notepad++ and put it into the macro directory but it doesnt seem to work. Is this all i have to do?
Can you let me know if ive done something wrong or why it isnt working, thanks.

Re: Need help with macro

Posted: Fri May 10, 2019 9:09 pm
by acef1x

Re: Need help with macro

Posted: Fri May 10, 2019 10:00 pm
by GoDlike
It's almost fine, you can either put delays between the Keydown and Keyup or use automated solution like KEY

Try setting Delay to little higher value if it doesn't work. Regards.

Try this one:

Code: Select all

MACRO KEYDOWN 1
KEY ESCAPE
DELAY 30
KEYUP ESCAPE
DELAY 30
KEYDOWN SPACE
DELAY 30
KEYUP SPACE
DELAY 30
KEYDOWN UP
DELAY 30
KEYUP UP
DELAY 30
KEYDOWN SPACE 
DELAY 30
KEYUP SPACE
or this one:

Code: Select all

MACRO KEYDOWN 1
KEY ESCAPE
DELAY 50
KEY SPACE
DELAY 50
KEY UP
DELAY 50
KEY SPACE 

Re: Need help with macro

Posted: Fri May 10, 2019 11:05 pm
by acef1x
Thank you so much :) Its working perfectly now!