I imagine you are the same person who asked in our discord, but this short script works for Logitech gaming software, I imagine it also works for G-Hub if it still has the Lua scripting.
If not you could downgrade to the LGS since you have an older mouse which would be supported. The last good version was 9.02.65
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg, family)
if (arg == 2) then
if (event == "MOUSE_BUTTON_PRESSED") then
PlayMacro ("DPI Down")
else if (event == "MOUSE_BUTTON_RELEASED") then
PlayMacro ("DPI Up")
end
end
end
end
You would just need to create 2 DPI's only in the software to toggle between (maybe setup a new profile with them) and then enter the above code in the scripting menu replacing anything that is there. Ensure the software is kept running because scripts don't save to the mouse.