Why Do My Extra Mouse Buttons Not Work

I recently bought a G502 HERO LG mouse and I cant seem to use some of the buttons in-game. The buttons I want to use are tied to shifting DPI but I want to use the buttons for actions. My addon shows the number of mouse keys but if I bind any action to them it doesn’t work (I disabled DPI for them). Are DPI buttons on a mouse only for that use or whatever the profile options are? I know I can change the function on the LG profile but that still doesn’t do what I need. I don’t see any keybind options for my mouse in WoW so idk.

For my mouse with extra buttons I have to use software associated with the mouse to reprogram the keys to a specific key on my keyboard (usually a number pad key) before I can keybind them and have them work the way I want in the game.