komefai / PS4Macro

Automation utility for PS4 Remote Play written in C#
http://blog.komefai.com
MIT License
375 stars 89 forks source link

Scripting a quarter circle movement into a macro #121

Open RJDoran93 opened 3 years ago

RJDoran93 commented 3 years ago

Does anyone know how to properly add a quarter circle forward into the script for a macro? Thanks in advance for any help you can offer.

ps5macro commented 2 years ago

Is this for the dpad? I'm guessing you're building a macro where you're writing out the dualshock states in an order? Assuming both of those are true you'd do something like:

Press(new DualShockState() { DPad_Down = true }, 900); Press(new DualShockState() { DPad_Down = true, Dpad_Right = true }, 900); Press(new DualShockState() { DPad_Right = true }, 900);

You may need some sleeps in between and may need to adjust the button press durations.