Abilities conflict when using 2 differing inputs

I use a special controller (a standalone analog stick) in conjunction with a keyboard and mouse. This is to prevent carpal tunnel in my wrists.

When using my PC the controller’s input gets detected as an X-Box Controller.
When the game detects the controller’s input while I’m using my mouse and keyboard simultaneously, ‘input flicker’ occurs. This flicker doesn’t seem to happen with all characters nor all abilities. For example, Brigette works fine. Mercy works fine with the exception of one move: her DMG buff. It flickers on and off. When I use the special controller, the mouse input cuts on and off making me unable to DMG buff my team effectively.

If you need any documents, videos, etc. of this phenomenon, I would be glad to help in this manner.

Thanks for your hard work,
-A relatively new player

under advanced controller settings, look for ‘force keyboard/mouse interface’