2 Mice, capturing exclusively one mouse on windows (DirectInput, DDK, Linux, anything)
问题 I have connected 2 mice to PC and I wish one mouse to work as regular mouse and capture second mouse exclusively. First I was trying DirectInput. It showed 2 devices with word mouse in InstanceName. But only one device had DeviceType.Mouse and it was only really working device. When I was acquiring it was blocking both mice. Second I decided to create driver. I downloaded WinDDK. There is Mouse Filter driver sample. I was able to compile it. But I am not driver programmer. It is complex for