Describe the bug
As described in the documentation for Sequences I added KC.MACRO_SLEEP_MS(500) to my code.py after getting setup with a RP2040 with some standard Cherry MX switches and diodes, when adding this option it crashes my device. Documentation also shows KC.MACRO_SLEEP(1000), but is probably a typo as it does nothing (not even crash).
To Reproduce
Configure an RP2040 with some keys and ensure it works with single characters (guide I used linked below).
Follow these instructions adding the import line, the object made from simple_key_sequence and map it to a key press.
Save the code.py file and wait for it to crash.
Expected behavior
Should type a sequence and include delays.
Debug output
N/A
Additional context
12 Key custom keyboard, followed this guide. All keys work when mapped to single characters. Sequences function when there is no KC.MACRO_SLEEP_MS(500) present. Sample code:
Describe the bug As described in the documentation for Sequences I added
KC.MACRO_SLEEP_MS(500)
to my code.py after getting setup with a RP2040 with some standard Cherry MX switches and diodes, when adding this option it crashes my device. Documentation also showsKC.MACRO_SLEEP(1000),
but is probably a typo as it does nothing (not even crash).To Reproduce
simple_key_sequence
and map it to a key press.Expected behavior Should type a sequence and include delays.
Debug output N/A
Additional context 12 Key custom keyboard, followed this guide. All keys work when mapped to single characters. Sequences function when there is no
KC.MACRO_SLEEP_MS(500)
present. Sample code:Also tried
time.sleep(1)
and this just stops it at the point where it is in the sequence.