Barcode scanning as an input method.