mikerovers / usb-barcode-scanner

A typed library for using USB barcode scanners in Node.js with support for Typescript
https://www.npmjs.com/package/usb-barcode-scanner
MIT License
26 stars 26 forks source link

Adding support for shift modified keycodes. Adding comments referenci… #4

Open macyabbey opened 5 years ago

macyabbey commented 5 years ago

…ng relevant USB HID specifications. Maintain legacy support for old hidMap format, and new hidMap format of : { unmodified: "", shift: ""}. This allows for uppercase and lowercase alphanumeric strings, as well as many special characters that didn't work before. The most glaring problems occurred when attempting to scan a QRcode which contained a URL.