Multiple mice on OS X

后端 未结 6 2055
清歌不尽
清歌不尽 2021-02-01 20:51

I am developing an OS X application that is supposed to take input from two mice. I want to read the motion of each mouse independently. What would be the best way to do this?

6条回答
  •  别那么骄傲
    2021-02-01 21:26

    You could look at the USB/PS-2 device interrupt. Even if you don't want to rewrite a so called driver, it could be usefull since all the mice send their data through.

    You could also check this page that could give some hints http://multicursor-wm.sourceforge.net/

提交回复
热议问题