I'm building a Go application that runs in the terminal to gather input from two USB barcode scanners. How do I detect what barcode scanner the text (that's emulated as USB keyboard input) came from?
E.g. Barcode: 4009900522250 from Scanner 1
or Barcode: 4009900522399 from Scanner 2
I'm developing this on Mac OS, but the code will run on Raspbian for Raspberry Pi.