I use Zebra TC20 or TC25 Android barcode scanners - they don't finish with a final keypress. I forked this and hacked in a fix to allow for a time (if more than barcode is larger than x in (x)ms) Just figured that it may be useful to implement a proper fix for this. Also I use this libary to handle usb RFID readers - works like a charm.