Add support for deferred executors. (#14859)

* Add support for deferred executors.

* More docs.

* Include from quantum.h

* Cleanup.

* Parameter checks

* Comments.

* qmk format-c

* I accidentally a few words.

* API name change.

* Apply suggestions from code review

Co-authored-by: Sergey Vlasov <[email protected]>

* Review comments.

* qmk format-c

* Review comments.

Co-authored-by: Sergey Vlasov <[email protected]>
This commit is contained in:
Nick BrasselandSergey Vlasov authored and GitHub committed 2021-11-15 18:21:09 +00:00
1 parent b3ee124da6
commit 36d123e9c5
9 files changed
+286

No files matched your search

+2
View File
@@ -446,6 +446,8 @@ Use these to enable or disable building certain features. The more you have enab
* Forces the keyboard to wait for a USB connection to be established before it starts up
* `NO_USB_STARTUP_CHECK`
* Disables usb suspend check after keyboard startup. Usually the keyboard waits for the host to wake it up before any tasks are performed. This is useful for split keyboards as one half will not get a wakeup call but must send commands to the master.
* `DEFERRED_EXEC_ENABLE`
* Enables deferred executor support -- timed delays before callbacks are invoked. See [deferred execution](custom_quantum_functions.md#deferred-execution) for more information.
## USB Endpoint Limitations