문제

I am using an event tap in a Mac app to detect key presses and mouse movements. For the next step I would like to distinguish between an internal keyboard/trackpad and an external keyboard/mouse/trackpad. Does any one have any idea how to do this?

도움이 되었습니까?

해결책

You need to use the DDHidLib instead. If you want an example, check out this Open Source application:

https://github.com/FeeJai/MultiLayout

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top