Computer mice that support macros

Greetings!
Nowadays, computer mice that support macros are very common. Their use in network shooters negates all the work of balancing weapons, and simply destroys the entire competitive part of the game, turning it into a competition of software, and not directly people. You can treat this phenomenon in different ways, and yet getting an advantage using third-party software and hardware is nothing more than cheating to me.
Problems with detection using macro and are obvious. EpicGames have presented many interesting solutions in different areas before, so I can’t believe that another solution to this issue can’t be found.
Which direction do you recommend looking in? Tools, built-in engine functions, or maybe at least design solutions? I have not yet been able to find adequate leads anywhere, just only some of the theoretical assumptions.

Thanks, any advice on this hot topic would be very helpful.