Reduce lag and responsiveness by changing mouse and keyboard priorities

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
User avatar
n1zoo
Posts: 216
Joined: 04 Feb 2020, 06:26
Location: Lithuania

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by n1zoo » 13 Aug 2024, 13:26

Placebo. Why? Because everything you showed has already been done. Path was correct, as were Count and NextInstance. And my mouse still feels like ass.

User avatar
Slender
Posts: 1548
Joined: 25 Jan 2020, 17:55

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Slender » 13 Aug 2024, 16:51

n1zoo wrote:
13 Aug 2024, 13:26
Placebo. Why? Because everything you showed has already been done. Path was correct, as were Count and NextInstance. And my mouse still feels like ass.
1 thing of 1000

Syykfk
Posts: 90
Joined: 28 Jul 2023, 08:19

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Syykfk » 13 Aug 2024, 21:19

n1zoo wrote:
13 Aug 2024, 13:26
Placebo. Why? Because everything you showed has already been done. Path was correct, as were Count and NextInstance. And my mouse still feels like ass.
My tutorial and Slender's tutorial are in principle the same. If slender's tutorial is effective for many people, then my tutorial should also be effective. I suspect that you did not perform any steps correctly. Secondly, the mouse feels like a stack of many settings. If your other settings are very poor, it will appear that the optimization of my tutorial is not obvious.
I have no input lag, currently mainly researching desync.

User avatar
Slender
Posts: 1548
Joined: 25 Jan 2020, 17:55

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Slender » 13 Aug 2024, 23:00

Syykfk wrote:
13 Aug 2024, 21:19
n1zoo wrote:
13 Aug 2024, 13:26
Placebo. Why? Because everything you showed has already been done. Path was correct, as were Count and NextInstance. And my mouse still feels like ass.
My tutorial and Slender's tutorial are in principle the same. If slender's tutorial is effective for many people, then my tutorial should also be effective. I suspect that you did not perform any steps correctly. Secondly, the mouse feels like a stack of many settings. If your other settings are very poor, it will appear that the optimization of my tutorial is not obvious.
I'm still trying to move the mouse to slot 0 without changing reg-edit, but so far no change. Disabling the mouse driver in the keyboard does not change the priority. The only method that allowed me to move the mouse to 0 was to completely remove the controller and turn off the PC using the button (1 press, no hard off). But after restarting the PC, or restarting the usb controller, everything returns, the mouse part of the keyboard always takes over. I'm trying to find a way to permanently remove the mouse driver from the keyboard section.Any way, you can just remove mouse driver from keyboard section it have same result in regedit (only mouse driver from your real mouse).

User avatar
Slender
Posts: 1548
Joined: 25 Jan 2020, 17:55

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Slender » 13 Aug 2024, 23:14

remove keyboard mouse driver via DEVCON

1) find the mouse driver in keyboard section
2) go to details / hardware ids and find line like that (HID\VID_2516&UP:0001_U:0002)
3) Change all & to *
4) put devcon.exe on disk C open cmd and write:

Code: Select all

cd c:\ 
devcon remove HID\VID_1B1C*UP:0001_U:0002
5) you can create .bat in C dir with devcon remove command and put shortcut for it in autoruns (need disable LUA to make it work)
Last edited by Slender on 14 Aug 2024, 00:01, edited 1 time in total.

Tea
Posts: 39
Joined: 11 Nov 2023, 00:06

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Tea » 13 Aug 2024, 23:42

Chinese? Me too. You have to understand that most of the problems people here encounter cannot be solved by just a Windows setting. And if I remember correctly, there has been a video about this adjustment on bilibili.

Syykfk
Posts: 90
Joined: 28 Jul 2023, 08:19

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Syykfk » 14 Aug 2024, 02:58

Slender wrote:
13 Aug 2024, 23:14
remove keyboard mouse driver via DEVCON

1) find the mouse driver in keyboard section
2) go to details / hardware ids and find line like that (HID\VID_2516&UP:0001_U:0002)
3) Change all & to *
4) put devcon.exe on disk C open cmd and write:

Code: Select all

cd c:\ 
devcon remove HID\VID_1B1C*UP:0001_U:0002
5) you can create .bat in C dir with devcon remove command and put shortcut for it in autoruns (need disable LUA to make it work)
This method is good, I will test it, but it is a bit complicated for me, I have never touched DEVCON.exe

Thank you Slender, many of your tutorials have benefited me a lot

At present, I can achieve my requirements by automatically running a batch file at startup, and the effect is real-time. You can even mess up the device instance path of your real mouse (when there are two or more device instance paths and the serial number of the real mouse is not 0), and you will find that your mouse response becomes slower. After changing it back to 0, the mouse response will become faster again.

In addition, in my computer, disabling/uninstalling unused mice or keyboards in the device manager and then cleaning them with DeviceCleanup.exe will make their device instance paths disappear in the registry. I don't know if deleting the keyboard part of the mouse will optimize the real mouse, but since I can complete the optimization by changing the keyboard part of the mouse to 0 through the registry, I didn't uninstall the keyboard part of the mouse in the device manager.
I have no input lag, currently mainly researching desync.

Syykfk
Posts: 90
Joined: 28 Jul 2023, 08:19

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Syykfk » 14 Aug 2024, 02:59

Tea wrote:
13 Aug 2024, 23:42
Chinese? Me too. You have to understand that most of the problems people here encounter cannot be solved by just a Windows setting. And if I remember correctly, there has been a video about this adjustment on bilibili.
I didn't refer to bilibili, this is what my friend and I found
Slender's tutorial also gave me inspiration
Indeed, for many people's computers, this small part of the optimization is not enough.
I have no input lag, currently mainly researching desync.

Mr1991
Posts: 186
Joined: 24 Nov 2019, 10:10

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Mr1991 » 14 Aug 2024, 09:06

Slender wrote:
13 Aug 2024, 23:14
remove keyboard mouse driver via DEVCON

1) find the mouse driver in keyboard section
2) go to details / hardware ids and find line like that (HID\VID_2516&UP:0001_U:0002)
3) Change all & to *
4) put devcon.exe on disk C open cmd and write:

Code: Select all

cd c:\ 
devcon remove HID\VID_1B1C*UP:0001_U:0002
5) you can create .bat in C dir with devcon remove command and put shortcut for it in autoruns (need disable LUA to make it work)
Is this just the same as right click-uninstalling it in device manager?

User avatar
Slender
Posts: 1548
Joined: 25 Jan 2020, 17:55

Re: Reduce lag and responsiveness by changing mouse and keyboard priorities

Post by Slender » 14 Aug 2024, 09:11

Mr1991 wrote:
14 Aug 2024, 09:06
Slender wrote:
13 Aug 2024, 23:14
remove keyboard mouse driver via DEVCON

1) find the mouse driver in keyboard section
2) go to details / hardware ids and find line like that (HID\VID_2516&UP:0001_U:0002)
3) Change all & to *
4) put devcon.exe on disk C open cmd and write:

Code: Select all

cd c:\ 
devcon remove HID\VID_1B1C*UP:0001_U:0002
5) you can create .bat in C dir with devcon remove command and put shortcut for it in autoruns (need disable LUA to make it work)
Is this just the same as right click-uninstalling it in device manager?
yes, it same.

Post Reply