BR-DuaneDibbley
3 years agoSeasoned Ace
Re: Fix the mouse input
@OskooI_007
Not sure why you think I thought that you were "overclocking the mouse past it's maximum polling rate". I did just explain how mouse input works and how it reaches the game. If you are a expert on USB communication as well, then let's say the explanation was aimed at the other people reading the thread that might want to understand how these things work.
And sure, in theory a mouse could have 'no new information' when polled in which case it indeed NAK the poll and add another delay (depending on what is in bInterval, which for my mouse is 1), but this would only happen if no new information is available (read: no button press or no increment in any direction from sensor). You decrease the likelyhood that 'no new information' is available if you increase DPI that might have an effect on very slow mouse movements, but if you have to accumulate over 4 or even 8 poll results anyway, this should not matter. And in any case, even with a slow mouse movement of less than 3 cm / second you will have with 1000 Hz polling rate one increment in every poll.
Sure, if you mouse has a high bInterval and for one poll would decide to NAK as the movement was so slow that there was no new data), then this could have an effect. But then I'd say it is a 'bug' if the USB descriptor has bInterval of >1.
Not sure why you think I thought that you were "overclocking the mouse past it's maximum polling rate". I did just explain how mouse input works and how it reaches the game. If you are a expert on USB communication as well, then let's say the explanation was aimed at the other people reading the thread that might want to understand how these things work.
And sure, in theory a mouse could have 'no new information' when polled in which case it indeed NAK the poll and add another delay (depending on what is in bInterval, which for my mouse is 1), but this would only happen if no new information is available (read: no button press or no increment in any direction from sensor). You decrease the likelyhood that 'no new information' is available if you increase DPI that might have an effect on very slow mouse movements, but if you have to accumulate over 4 or even 8 poll results anyway, this should not matter. And in any case, even with a slow mouse movement of less than 3 cm / second you will have with 1000 Hz polling rate one increment in every poll.
Sure, if you mouse has a high bInterval and for one poll would decide to NAK as the movement was so slow that there was no new data), then this could have an effect. But then I'd say it is a 'bug' if the USB descriptor has bInterval of >1.