hid-barcode-scanner icon indicating copy to clipboard operation
hid-barcode-scanner copied to clipboard

Delays in custom template

Open Fabi019 opened this issue 10 months ago • 0 comments

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.

Fabi019 avatar Apr 22 '24 15:04 Fabi019