title: How do I tell if keyboard input is coming from a barcode scanner?
body: <p>On one computer I have both a regular keyboard and a barcode scanner which emulates a keyboard.  When my app gets keyboard input, how can I determine whether that input is coming from the barcode scanner or the real keyboard?</p>