1

I have an application that uses a barcode scanner. I want to be able to determine who pressed a key: the keyboard or the barcode scanner. I tried all the methods from the NSEvent, but I didn't find anything.

Thanks

4

1 回答 1

0

您无法使用 NSEvent 获取设备信息。您应该查看DDHidLib。它将帮助您使用 USB 设备。

于 2011-08-02T19:59:47.810 回答