by Graf Zahl » Wed Jun 07, 2017 1:25 am
ZZYZX wrote:There are multiple mouse-related bugs — mouse not registering at all, Windows cursor in the middle of the screen, mouse reacting with few second delay... Generally fixes itself by switching in_mouse to 1 and then back to the preferred value (bind something "in_mouse 1; in_mouse 3").
Actually, after having a closer look, it seems like in_mouse == 3 may be the problem. The RawInput handler also messes around with the mouse position, like the GUI mouse handler.
Unfortunately I have no idea why this is necessary but if you run into this problem, set in_mouse to 2, i.e. DirectInput. That handler does not center the mouse by force. What I cannot say is if RawInput provides any advantage for mouse handling.
Or if you feel no need to use RawInput at all, set 'norawinput' to true which uses DirectInput for everything.
[quote="ZZYZX"]There are multiple mouse-related bugs — mouse not registering at all, Windows cursor in the middle of the screen, mouse reacting with few second delay... Generally fixes itself by switching in_mouse to 1 and then back to the preferred value (bind something "in_mouse 1; in_mouse 3").[/quote]
Actually, after having a closer look, it seems like in_mouse == 3 may be the problem. The RawInput handler also messes around with the mouse position, like the GUI mouse handler.
Unfortunately I have no idea why this is necessary but if you run into this problem, set in_mouse to 2, i.e. DirectInput. That handler does not center the mouse by force. What I cannot say is if RawInput provides any advantage for mouse handling.
Or if you feel no need to use RawInput at all, set 'norawinput' to true which uses DirectInput for everything.