kareltucek / firmware

This is fork of UHK's firmware featuring extended macro engine.
Other
82 stars 9 forks source link

One shot keys? #112

Closed kareltucek closed 1 year ago

kareltucek commented 1 year ago

--> https://github.com/UltimateHackingKeyboard/firmware/issues/464

(This issue admittedly is a bit tricky, but still should not need a comprehensive understanding of the entire codebase.)

I think this could actually be hooked to the "interrupted" flag subsystem:

The new syntax would be MODIFIER = oneShot. It would make the macro subsystem treat such modified key as being pressed for as long as needed - that is until the "interrupted" thing is activated, plus some safety margin.

Implementation notes:

kareltucek commented 1 year ago

Done