Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Mac 应用程序中使用事件点击来检测按键和鼠标移动。对于下一步,我想区分内部键盘/触控板和外部键盘/鼠标/触控板。有谁知道如何做到这一点?
您需要改用 DDHidLib。如果您想要一个示例,请查看此开源应用程序:
https://github.com/FeeJai/MultiLayout