As a work-around, I have tried creating a specific profile for C:\PROGRAM FILES (X86)\STARCRAFT II\STARCRAFT II.EXE, where I bind for example Mouse3 -> F12, and set F12 as hotkey for inject in SC2. Does not work. However, if I set Mouse3 -> F12 as a bind in the global profile in the mouse software (not just SC2) it works, but naturally I don't want this as a global bind.
Troubleshooting: have tried rebooting, running both the mouse software and SC2 as administrator.
What can I do to fix this?