DODGE MACRO FOR CORSAIR MOUSE

i've been trying to setup a dodge macro on my corsair harpoon mouse in the iCUE software with no luck. i've watched videos and read through blogs trying to figure it out but i'm probably an idiot. i've created the macro using the record feature and i thought i set it to my thumb button but when in valheim nothing happens. any help on this would be greatly appreciated.
2:13 pm, May 9, 2023
aeon70 0 comments 0 likes

umop-apisdn replied to DODGE MACRO FOR CORSAIR MOUSE May 9, 2023 @ 7:14:45 am PDT

I, too, use a Corsair Harpoon. I wasn't even aware the iCUE software had this functionality; I usually only use it to turn the lights off (by telling them to be black) and change the "sniper button" to a simple toggle between "normal" and "high-precision", because more precision levels than that just causes my mouse to feel stupid when my cats walk across my desk.

Today I learned.

I was able to make a functioning dodge-roll macro and assign it to my "back" button as follows:
  • Open the iCUE software
  • Edit the profile
  • Select "Key Assignments"
  • Click the "+" button in the box on the bottom-left.
  • Select "Macro" in the second box ("Assignment Type")
  • Click on the box inside the third box ("Key"), then press the thumb button to assign the macro to that button.
  • In the final box ("Macro"), I pressed the "record" button, then pressed LCtrl, then Space, then released Space, released LCtrl, then pressed and released LCtrl one final time (to toggle "crouch" back off)... followed by clicking the record button again to stop the recording.
  • I then adjusted the delay timings by clicking on the "XXX ms" boxes in the macro window until the macro looked something like this:
    1. LCtrl Press
    2. Delay 5ms
    3. Space Press
    4. Delay 30ms
    5. Space Release
    6. Delay 5ms
    7. LCtrl Release
    8. Delay 30ms
    9. LCtrl Press
    10. Delay 20ms
    11. LCtrl Release

Testing in-game confirmed this caused me to dodge-roll forward with no other keys pressed, or dodge-roll in the appropriate direction if pressed in combination with a movement key.

The timings aren't perfect; if I press the button again too soon after using it, I come out of the roll into a crouch... but pressing it again seems to fix it, so I'll call this "a good start" on a functional macro.

As an aside, I suspect the "Delay 30ms" after the second "LCtrl Press" could be shorter, and possibly the "Delay 20ms" between the final press and release of LCtrl as well... but it makes me feel icky to use a macro (no judgement on you, it's totally my hangup), so I'll leave the fine-tuning in your hands.
5:13 pm, May 9, 2023
0 comments 0 likes

umop-apisdn replied to DODGE MACRO FOR CORSAIR MOUSE May 9, 2023 @ 8:07:05 am PDT

Oh, and skimming through the forums revealed that some players fight by circle-strafing their opponent while holding block (right-click), so for them dodging is just tapping space; this could be a reasonable alternative, if it suits your playstyle.

Personally, I use movement and parrying, rather than holding block, so the method described above doesn't work for me. It makes dodging feel... clunky... because I'm not already holding right-click; I'm concentrating on the proper block timing to parry the blows, and holding block constantly means you're moving much less quickly. To get to the point: I understand completely why one might wish to use a macro to press a 3-key combination that should be a single button.

For example, many games use "double-tap a movement key" to dodge... or for that matter, ALT is unused; why not bind the "dodge" action to that?

Then again, keybinds in Unity are a real chore on the developer side, last I checked (although it's been a few years since I touched that engine)... perhaps it was simply too painful to implement on a "modifier" key?
5:13 pm, May 9, 2023
0 comments 0 likes

aeon70 replied to DODGE MACRO FOR CORSAIR MOUSE May 9, 2023 @ 9:03:53 am PDT

thanks for the info umop-apisdn, that worked for the most part. i was able to get the dodge to work on the thumb button but sometimes it instead of rolling the character just does a quick half block and stops. not sure what's going on there. maybe i'll try this method on a key on the keyboard and see if that's better. regardless you were a big help. thanks
5:13 pm, May 9, 2023
0 comments 0 likes

umop-apisdn replied to DODGE MACRO FOR CORSAIR MOUSE May 9, 2023 @ 9:07:14 am PDT

Originally posted by aeon70:
thanks for the info umop-apisdn, that worked for the most part. i was able to get the dodge to work on the thumb button but sometimes it instead of rolling the character just does a quick half block and stops. not sure what's going on there. maybe i'll try this method on a key on the keyboard and see if that's better. regardless you were a big help. thanks

That sounds like you're using block instead of crouch, and your timings need some tweaking; remember to leave enough time between press and release for the OS and game engine to recognize that an input event has occurred. With a little patience and a lot of testing, I bet you'll get the kinks worked out. Good luck!
5:13 pm, May 9, 2023
0 comments 0 likes

aeon70 replied to DODGE MACRO FOR CORSAIR MOUSE May 9, 2023 @ 10:09:11 am PDT

umop your exactly correct. i played around with the delays (increased slightly) and the dodge is way more consistant and dependable.
5:13 pm, May 9, 2023
0 comments 0 likes