Need help with macro

Need help? Ask here and someone will help
Post Reply
acef1x
Posts: 4
Joined: Thu May 09, 2019 10:46 pm

Need help with macro

Post 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
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Need help with macro

Post 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
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
acef1x
Posts: 4
Joined: Thu May 09, 2019 10:46 pm

Re: Need help with macro

Post 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.
acef1x
Posts: 4
Joined: Thu May 09, 2019 10:46 pm

Re: Need help with macro

Post by acef1x »

User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Need help with macro

Post 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 
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
acef1x
Posts: 4
Joined: Thu May 09, 2019 10:46 pm

Re: Need help with macro

Post by acef1x »

Thank you so much :) Its working perfectly now!
Post Reply