且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

2只老鼠,仅在Windows上捕获一只鼠标(DirectInput,DDK,Linux等)

更新时间:2023-11-18 12:25:46

对于Linux,您需要将第一个鼠标声明为CorePointer或将第二个鼠标配置为SendCoreEvents false.有关更多详细信息,请参见xorg.conf(5)手册页.

For Linux, you need to either declare the first mouse as the CorePointer or configure the second mouse to have SendCoreEvents false. See the xorg.conf(5) man page for more details.