Skip to content

[BUG] Isues with Macros #1118

@xyphro

Description

@xyphro

I use the latest Github FW and defined macros which send ALT codes and assigned them to a key. The there are 3 x 30ms delays part of the Macro.
When I press the Macro key slowly again and again it works GREAT.

When I press the Macro key fast twice (or more) the firmware crashes:
Traceback (most recent call last):
File "kmk/kmk_keyboard.py", line 443, in go
File "kmk/kmk_keyboard.py", line 517, in _main_loop
File "kmk/kmk_keyboard.py", line 253, in _process_timeouts
File "kmk/modules/macros.py", line 304, in task
File "kmk/modules/macros.py", line 294, in process_macro_async
File "kmk/modules/macros.py", line 313, in send_key_buffer
File "kmk/kmk_keyboard.py", line 228, in resume_process_key
ValueError: object not in sequence
6359287 kmk.keyboard: cleaning up...
6359289 kmk.keyboard: ...done

Any Idea how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions