hid-barcode-scanner
hid-barcode-scanner copied to clipboard
Delays in custom template
The user should be able to specify a delay e.g. as {WAIT/SLEEP:10s} in the custom template.
Since currently the template is converted into keys, in a first iteration we could introduce dummy keys. A {WAIT:10} gets translated by a dynamic template processor into 10 dummy keys. In the send loop no key is sent, but the transmission delay is still applied.
Cons: The sleep time depends now on what the user set as the character delay.