-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Currently using the library, we are unable to set the delay used between items in the queue as they are processed.
Using the following code actually results in repeated input of the keycode instead of a single instance each second as expected. Perhaps the delay between queue items is to short for the host to recognize, but it isn't tunable externally to verify via testing.
delay(1000);
bluemicro_hid.keyboardReport(0, keycode);
bluemicro_hid.keyboardRelease();
bluemicro_hid.processQueues(CONNECTION_MODE_USB_ONLY);
Using the following code, which is essentially inserting a false delay and processing the input and release separately, works as expected, with a single keypress processed each second.
delay(1000);
bluemicro_hid.keyboardReport(0, keycode);
bluemicro_hid.processQueues(CONNECTION_MODE_USB_ONLY);
delay(10);
bluemicro_hid.keyboardRelease();
bluemicro_hid.processQueues(CONNECTION_MODE_USB_ONLY);
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers