[IMP] barcode_events: deal with special keys in Firefox
Let arrow keys, tab and escape pass through. We still want users to be able to use eg. arrow keys to be used when selecting a radio item. This will always work in Chrom{e,ium} because they do not dispatch keypress events for these types of keys, only keydown/keyup events. Firefox does dispatch keypress events. This makes sure that we do not touch those types of events in Firefox. devices have to fire keypresses every 50ms minimum Previously this was 100ms. This works just as well, but was mainly in there for testing purposes.
Please register or sign in to comment