How can I use two usb keyboards inputing simultaneously on one computer and monitor without the data merging together?

2

1

Specifically, I need to scan a whole bunch of barcodes, and so I want to connect two usb laser scanners to one PC and be able to scan simultaneously in order to get the job done faster! If barcodes get scanned at the same time, the data in the system merges together and drops out characters; therefore, it has to be deleted and re-done.

Thank you for suggestions/apps/programs able to use two usb devices inputing to different windows (e.g., two notepad windows open)

Johnson

Posted 2012-08-02T13:45:25.003

Reputation: 21

Thanks, but it doesn't quite help my situation. – Johnson – 2012-08-02T14:41:57.663

A barcode scanner is just a keyboard as far as your computer knows, so no, you won't be able to get two of them working simultaneously, without interference. – Don Simon – 2012-08-02T15:02:59.800

Right, that's why I used them interchangeably in asking the question. I just figured it's 2012, and somebody should have a solution by now because I saw the question asked elsewhere but unanswered back in 2010... – Johnson – 2012-08-02T15:08:44.120

1

There's no built-in solution. However, it can be done in software (http://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard) so there might be an existing third party utility.

– Harry Johnston – 2012-08-04T00:43:13.970

Answers

1

I've been trying to work out a similar problem to this for a short while now and last night I think I cracked it!

The trick is to use virtual machines and have the VM capture the USB device from the host.

I am using VirtualBox as it has good USB support out of the box.

How to use USB devices in VirtualBox

I tested this on an XP host, running a Ubuntu VM, with two USB mice and two USB keyboards. I passed one set to the VM, leaving one on the host. Opened up a basic text editor on both machines and tip-tapped away on each simultaneously with no issue!

gvee

Posted 2012-08-02T13:45:25.003

Reputation: 111