U
U
UnoUmo2018-12-07 21:29:08
Mouse
UnoUmo, 2018-12-07 21:29:08

How to make 2 profiles for one or two mice in Windows 10?

There is such a problem. I always had the speed of the mouse pointer movement almost at the maximum. Recently I started playing games, and there, as a rule, for a normal game, it is required that the speed be at 6 values, instead of my usual 10. You also need to disable increased accuracy. In office tasks, it is not convenient for me to work like this.
If anything, you can find it in the settings here:
All settings - Devices - Mouse - Additional mouse options - Pointer options - Move.
How can I change these settings with one click? Maybe there is a program in which you can switch between profiles for the mouse? For example, in games you turn on mode 2 game, in everyday life - mode 1 - office.
Is it possible to do something like this so as not to edit the settings manually before each game? Are there programs?
I'm even ready to connect a second mouse to solve the problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Proskurin, 2018-12-07
@Vlad_IT

I love collective farming with PowerShell. Create a setGame.ps1 file on your desktop with the content

[int]$Speed=6# тут скорость
$MethodDefinition = @"
    [DllImport("user32.dll", EntryPoint = "SystemParametersInfo")]
    public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni);
"@
$User32Set = Add-Type -MemberDefinition $MethodDefinition -Name "User32Set" -Namespace Win32Functions -PassThru
$User32Set::SystemParametersInfo(0x0071,0,$Speed,0) | Out-Null
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name MouseSensitivity -Value $Speed

And the file setWork.ps1 with the content
[int]$Speed=10 # тут скорость
$MethodDefinition = @"
    [DllImport("user32.dll", EntryPoint = "SystemParametersInfo")]
    public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni);
"@
$User32Set = Add-Type -MemberDefinition $MethodDefinition -Name "User32Set" -Namespace Win32Functions -PassThru
$User32Set::SystemParametersInfo(0x0071,0,$Speed,0) | Out-Null
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name MouseSensitivity -Value $Speed

And now, to set the sensation, you need to right-click on the desired file, and there "Run with Powershell".
The script is the same (except for the first line), I just haven't figured out how to run PowerShell scripts through shortcuts or batch files (to substitute a parameter). So there are two files.

Y
Yan, 2018-12-08
@Slayer_nn

Games should have a mouse filter parameter, a hardware pointer, etc., which completely ignores the windows settings
And works as configured in the game itself.
If not, then here is the program
https://rsload.net/soft/desktop/15021-x-mouse -butt...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question