Disable raw mosue input to a specific pogram in Windows 7

Ask gaming related questions (AHK v1.1 and older)
aayan
Posts: 1
Joined: 26 Jan 2022, 20:49

Disable raw mosue input to a specific pogram in Windows 7

Post by aayan » 26 Jan 2022, 20:57

I am trying to use two mice for a game using universal control remapper by mapping mouse movements to joystick analog. It works but the game is also recognising the input(movement and scroll) from mouse for player 1 thus making the game react to both the mice.

I tried Autohotkey's blockinput,mouse move function but it doesn't seem to work because the game is using raw mouse input instead of relying on cursor movements.

By researching I came to know about Autohotinterception and Windows low level mouse hooks but I have no idea how to use them. I just want to disable mouse movement and buttons for a game not for the entire Desktop(that would also make Universal control remapper to not receive the input and I don't want that).

If possible can someone provide the code to disable raw mouse movement (and raw scroll input if possible) input to a specific program

It would be very nice if someone can help me out.

Return to “Gaming Help (v1)”