I have my own keyboard and a USB barcode scanner that works like a second keyboard.
I would like to use the main keyboard to control the computer (as you usually do), and the second keyboard (actually this is a barcode scanner) to register all the input to the file.
Can this be done?
The fact is that I can be on the Internet, a word, succeed or something else. I would use the main keyboard to write to these processes, while in the background a second keyboard (barcode scanner) could be written simultaneously, but to a log file. The program that I could use at the moment will never know about the second keyboard input.

Thank you, all suggestions are welcome.
source share