So, here is the deal. I have this issue:
And after some research, my problem may be solved by using global hooking with SetWindowsHookEx(WH_MOUSE_LL, LowLevelMouseHookProcedure....). However, in the callback LowLevelMouseHookProcedure(int nCode, IntPtr wParam, IntPtr lParam), I don't see a way to identify WHICH mouse was used! Anyone here that can help me out?
All I want is to be able to filter out mouse events for a certain mouse for games. And preferably also be able to choose to send the mouse events to a specific application.
If anyone have other bright ideas, I welcome them!