Jump to content
Corsair Community

Macro execution for as lon as the button is pressed


mimis

Recommended Posts

Hello all,

I have a "no recoil" macro for my M65 RGB mouse, which I use in a First Person Shooter game.

The purpose of the macro is to correct the recoil of the gun, by moving the cursor every time a bullet is fired.

The macro looks like:

 

Left button pressed

relative cursor move x=.., y=..

Delay xx ms

relative cursor move x=.., y=..

Delay xx ms

.

.

multiple times (30)

.

 

relative cursor move x=.., y=..

Delay xx ms

Left button released

 

What I need is to set this macro to get executed every time the left button (fire) is pressed. When the left button is released to immediately stop the execution and when the button is pressed again to start from the beginning again.

 

What I have managed so far is to execute it when I press the left button for all the 30 times (30 bullets) without stopping when I release the left button.

Your help and advice is much appreciated.

Link to comment
Share on other sites

  • 9 months later...
  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...