the cuecat, which you can still get on ebay and other places, was a neat little device that scanned in bar codes and with a net connection go to sites, offer up discounts, etc ...
Why all the complication with two inverted character sets? Direction! The grocery checkout barcode scanner hasn’t changed much over the years. It’s mounted in a slot and items are passed over it.