icue should include this feature.
I am using SteerMouse on OSX to handle all my custom mouse actions and functions, since iCue is extremely limited.
And on Windows I am using X-Mouse.
But both software have trouble working if iCue is working on the background, which I only use to customize my keyboard RGB lights.
I would love a way to make iCue to ignore my corsair mouse so I can handle the mouse with other applications without any conflict.
I have been testing it on 10.13.6 with a Strafe and a MM800 and I totally love it. Nothing to complain here, for a beta its pretty solid.
I saw someone saying something about not working with VLC, but it works with VLC, IINA and Quicktime just fine.