Re: Mouse Key Bind - delayed reaction
Posted: Tue Aug 21, 2012 12:51 pm
I FOUND A SOLUTION!!! At the end of post. Please READ THIS POST anyway!!!
Okay, I did a test.
I delete all mice and all driver software and re-plug the G400.
2 new mice are added to device manager, both using the SAME driver.
http://i.imgur.com/OuGzb.jpg
Hardware ID shows this:
http://i.imgur.com/fQtid.jpg
If I plug in the MX518 into the same slot now, the driver stays the same BUT the hardware IDs change a bit:
http://i.imgur.com/rsCzA.jpg
After I install the Logitech Gaming Software one more mouse gets added, the G400, finally.
Driver Details:
Driver Provider: Logitech
Driver Date: 07.02.2012
Driver Version: 8.30.19.0
The other 2 mice keep their driver but their Hardware IDs changed a bit:
http://i.imgur.com/ZPyFU.jpg
If I plug in the MX518 a THIRD mouse gets added, using the standart Microsoft driver.
http://i.imgur.com/6nLgj.jpg
Here are the HW IDs.
http://i.imgur.com/hDL1d.jpg
If I get the G400 back in there it just re appers as the G400.
I had my Device Manager open when installing logitech gaming software. Something new was installed in "Human Interface Devices". I dont know what but I am sure something has been added, because the tab opened after the setup was done. Look at this:
http://i.imgur.com/FzRYw.jpg
I use the Saitek Joystick, a webcam, an external HDD that uses 2 USB slots, nothing more. Is anything in there NOT NEEDED?
EDIT: It seems that MOUSE MOVEMENT is the initiator of LAG!
If I hold the mouse STILL and do the button pressing it will react instantly after a few tries and delays. If I move the mouse to the right a few CM a small delay appears. When the delay is gone I move the mouse to the left - same amount and the same delay appears.
If I move the mouse to the left and right (2x movement) the delay feels DOUBLE THE SIZE!
So I am not sure... I think the mouse is handeling movement before anything else? I dont know...
Movement... Let me check something.
I FOUND A SOLUTION !!!!!
In Logitech Gaming software there is the "Pooling Rate (reports per second).
125/250/500/1000.
On 125 there is NO DELAY whatsoever!
On ANY OTHER SETTING delay appears and described a few lines above. The higher the reports per second, the more severe the delay.
Switching from 250 to 125 needs a while until button press reactions are INSTANT. It feels like some data needs to be processed before the mouse button signal is sent out to TrackIR. But then on 125 - no delay...
This issue is clarly described now, isnt it?
The problem now is - I dont wanna use Logitech Gaming Software but I have to start it at least once in order to tell the mouse to use 125 RPS... :-/ Lame.
EDIT2: So apparently it has to do with the USB usually checking 125 times a second... Apparently you can boost that to 1000x a second. But then TrackIR fucks up. So - I guess that's helpful eh? Maybe need some lines of code in order to keep the update rates for the mouse and TrackIR seperate?? Thanks.
Okay, I did a test.
I delete all mice and all driver software and re-plug the G400.
2 new mice are added to device manager, both using the SAME driver.
http://i.imgur.com/OuGzb.jpg
Hardware ID shows this:
http://i.imgur.com/fQtid.jpg
If I plug in the MX518 into the same slot now, the driver stays the same BUT the hardware IDs change a bit:
http://i.imgur.com/rsCzA.jpg
After I install the Logitech Gaming Software one more mouse gets added, the G400, finally.
Driver Details:
Driver Provider: Logitech
Driver Date: 07.02.2012
Driver Version: 8.30.19.0
The other 2 mice keep their driver but their Hardware IDs changed a bit:
http://i.imgur.com/ZPyFU.jpg
If I plug in the MX518 a THIRD mouse gets added, using the standart Microsoft driver.
http://i.imgur.com/6nLgj.jpg
Here are the HW IDs.
http://i.imgur.com/hDL1d.jpg
If I get the G400 back in there it just re appers as the G400.
I had my Device Manager open when installing logitech gaming software. Something new was installed in "Human Interface Devices". I dont know what but I am sure something has been added, because the tab opened after the setup was done. Look at this:
http://i.imgur.com/FzRYw.jpg
I use the Saitek Joystick, a webcam, an external HDD that uses 2 USB slots, nothing more. Is anything in there NOT NEEDED?
EDIT: It seems that MOUSE MOVEMENT is the initiator of LAG!
If I hold the mouse STILL and do the button pressing it will react instantly after a few tries and delays. If I move the mouse to the right a few CM a small delay appears. When the delay is gone I move the mouse to the left - same amount and the same delay appears.
If I move the mouse to the left and right (2x movement) the delay feels DOUBLE THE SIZE!
So I am not sure... I think the mouse is handeling movement before anything else? I dont know...
Movement... Let me check something.
I FOUND A SOLUTION !!!!!
In Logitech Gaming software there is the "Pooling Rate (reports per second).
125/250/500/1000.
On 125 there is NO DELAY whatsoever!
On ANY OTHER SETTING delay appears and described a few lines above. The higher the reports per second, the more severe the delay.
Switching from 250 to 125 needs a while until button press reactions are INSTANT. It feels like some data needs to be processed before the mouse button signal is sent out to TrackIR. But then on 125 - no delay...
This issue is clarly described now, isnt it?
The problem now is - I dont wanna use Logitech Gaming Software but I have to start it at least once in order to tell the mouse to use 125 RPS... :-/ Lame.
EDIT2: So apparently it has to do with the USB usually checking 125 times a second... Apparently you can boost that to 1000x a second. But then TrackIR fucks up. So - I guess that's helpful eh? Maybe need some lines of code in order to keep the update rates for the mouse and TrackIR seperate?? Thanks.