开发者

device from NSEvent

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 N开发者_开发知识库SEvent, but I didn't find anything.

Thanks


You cant get device information using NSEvent.You shoud take a look at DDHidLib. It will help you to work with usb devices.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜