golang-evdev icon indicating copy to clipboard operation
golang-evdev copied to clipboard

added unique identifier to device info

Open sm3142 opened this issue 2 years ago • 0 comments

Just a very small PR to add unique identifier support to DeviceInfo. Most HID devices don't provide them, but I'm in a situation where I have multiple identical devices attached. Since they do provide unique ID info, this allows me to keep them apart . If no unique ID is provided, the value just remains empty.

PS: Thanks for providing this module, helped me a great deal!

sm3142 avatar Oct 03 '21 20:10 sm3142