Radu Paise
Radu Paise

Reputation: 285

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 NSEvent, but I didn't find anything.

Thanks

Upvotes: 1

Views: 241

Answers (1)

VenoMKO
VenoMKO

Reputation: 3294

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

Upvotes: 0

Related Questions