can also be used on any other third party mouse on MacOS using a software like Mac Mouse Fix
Logitech Settings using GHub are as bellow
Device: Logitech G502
DPI = 2750
G3 - Middle Mouse Click/Scroll Wheel Click - Desktop Overview - Ctrl
+ Up
G4 - Navigate Forward - Cmnd
+ ]
G5 - Navigate Backward - Cmnd
+ [
G6 - Minimise Current Window - Cmnd
+ M
G7 - Side Button 1 - Tab Left - Cmnd
+ Shift
+ [
G8 - Side Button 2 - Tab Right - Cmnd
+ Shift
+ ]
G10 - Scroll Tilt Left - Desktop Profile Switch Left - Ctrl
+ Left
G11 - Scroll Tilt Right - Desktop Profile Switch Right - Ctrl
+ Right
G4, G5, G7, G8: Global Macros - works on both Chrome and IntellIj