Many have asked about the Logitech G502 which often have problems with their mouse, especially the G502, there are several variants or types of the G502, such as LIGHTSPEED, HERO, PROTEUS CORE, below I will provide tips or tutorials: Logitech Gaming Software not Detecting G502.
I will share my experience with you, I use Logitech G502 HERO and I download Logitech Gaming Software and install it on my PC, and my mouse is not detected by Logitech Gaming Software, at that time I wanted to set macros for Logitech G502 HERO, and I Uninstall Logitech Gaming Software and I replaced it with other software, namely Logitech G HUB, and my G502 HERO mouse works fine, I can set macros for my hero g502 mouse.
Read How to Fix: Logitech Gaming Software Not Detecting
means for those of you who use the Logitech G502 HERO, my suggestion is that you use the Logitech G HUB Software, because G HUB is the latest Logitech Software for the Gaming category, for those of you who use the G502 LIGHTSPEED I also recommend G Hub for you to use.
Tips: Logitech Gaming Software not Detecting G502
Tips 1
Uninstall Logitech Gaming Software and try to reinstall Logitech Gaming Software.

Tips 2
Update your Logitech Gaming Software.

Tips 3
Uninstall Logitech Gaming Software and Try Installing Logitech G HUB Software.
Tips 4
Update your Windows if you are using Windows.
See Also: Logitech Gaming Software Not Opening
The conclusion is if your Gaming Mouse is an old version or output, I suggest using Logitech Gaming Software, and if your G502 Mouse is the latest version such as the G502 LIGHTSPEED and Hero use G HUB only so that your Logitech G502 can function properly.