Automatically add items to cart with a barcode scanner

Give us a component such as a textbox field and have it set to autofoucs. The idea is that when and Item code or barcode is scanned from a plugin and play scanner it will auto fill the barcode number in the textbox and then automatically match to the database and copy that product from the inventory list to the invoice. I am trying to build a grocery store POS and this is a MUST. Please help up vote this idea! The current components don’t offer this option.