We have a POS (Point Of Sale) computer that is splitted in 2 sections: On the left side is a small browser where my javascript web application is running. on the right side there is the POS software.
My question: Is there any possiblity to catch the handheld scanner input when the browser and the web app is not focused?
Because the cashier is focused the most time on the POS software typing on buttons etc.
The goal is to catch the scan input (in this case an item EAN code), in the web app and show the corresponding image of that product.
I have tried to read out the scanner input but it can only work when the app is somehow focused.
Any help is welcome
Thanks