![logitech g502 reddit logitech g502 reddit](https://ae01.alicdn.com/kf/H4e38b1c0340c4221b94f68f3f767c0fea/original-Logitech-Mouse-G502-Hero-LOL-Limited-Edition-MX518-Classic-wired-game-Mouse-Support-Desktop-Laptop.jpg)
I take no responsibility for any issues that come from following this guide.īe very careful that if you use PressMouseButton that you always make sure to use ReleaseMouseButton on the same button to restore it. EnablePrimaryMouseButtonEvents(true) - Enable this if you need to edit left mouse button I recommend looking here as a good starting point: /G502_Mouse_Fix_Project/Personal_Setup_Macros/īe wary of thise line, as it causes performance issues: It can be done, it just will take a little more work in figuring out which button is which. If you have a mouse that is not the G502, don't worry.
#LOGITECH G502 REDDIT SOFTWARE#
In some ways, it could be thought of as the software version of a capacitor, which would be used for hardware filtering. Debouncing is common in most devices to prevent duplicate inputs by reducing the amount of electrical jitter that is on the line. Software filtering for an input (such as a switch) is generally called debouncing. When using any input on a device, filtering (whether in software or hardware) is a standard practice. This fix, along with the macro fix works off of the idea of filtering. Why This Issue Occurs: (This Man is a LEGEND) My goal is to make this fix as accessible as possible and to do most of the heavy-lifting as far as the environment and tools. Downside? It's not quite as straight-forward. Upside? it can fix the issue with a little bit of work. What if the other buttons are double-clicking? No worries! I have taken the time to develop a LUA script to solve this issue for the remaining buttons. The macro fix works for those three buttons. Macros for the main mouse buttons (LMB, RMB, and MMB) can be seen in /G502_Mouse_Fix_Project/Personal_Setup_Macros/ in images 03, 04, and 05 respectively. Macro Fixįor double-clicking and click/drag issues on the G502 (and by extension, most Logitech gaming mice), a macro can be used to fix this issue. In under a year, most gaming mice would start having an issue with double-clicking. I looked up the current model of G502 (and several other gaming mice from different brands) and saw that they all had a similar issue.
![logitech g502 reddit logitech g502 reddit](https://i.ytimg.com/vi/k-HfYl7ZMVM/maxresdefault.jpg)
I have a Logitech G502 that started double-clicking after 3-4 years.
#LOGITECH G502 REDDIT CODE#
My code on the other hand assumes a 20ms (50 clicks/second) delay, using 10ms for the down press and 10ms for the release (wich can be overlapping), between successive clicks and is configurable. Logitech's current code is limited by the report rate, which assumes 1000 clicks/second at 1000 Hz, which is pretty rediculous. A reasonable time for the fastest possible double-click might be to assume 20 clicks/second, meaning a 50ms delay. For the G502, I could not click faster than a delay of 75ms, meaning that a total delay of about 70ms should go unnoticed for most people. In a test scenario, I attempted to double-click as fast as I could to get some metrics on a reasonable debounce time that would go unnoticed. This means that the button press happens instantaneously, but then waits for a short delay time to be pressed again so long as the delay is configured appropriately. Standard debouncing (delay) is usually somewhere between 10-20 ms for a button, and does not occur until AFTER the button has been pressed. I tested this by altering the report rate in G HUB for 1000 Hz (a 1ms delay) to 500 Hz (a 2ms delay) and saw that this fixed my issue. Doesn't a software fix affect the response times? Technically yes, but realistically no.
#LOGITECH G502 REDDIT FREE#
I also thought it would be good to learn a new language (lua) and solve this issue to the best that my ability and free time allows. I had some free time, so I thought I'd solve it. This is a repo created to help fix an issue prevalent in Logitech Gaming Mice.