kareltucek / firmware

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

Add conditions command for testing current keymap and layout #85

Closed soraxas closed 2 years ago

soraxas commented 2 years ago

Add conditional checks for testing the currently active layout and keymap

It allows me to use the same macro function across keymaps (with common functionality) but with slightly different intermediate behaviour depending on what keymap activates the macro. (well, it's not checking what triggers the macro but the currently active one, but in most practical cases this should be sufficient)

kareltucek commented 2 years ago

(well, it's not checking what triggers the macro but the currently active one, but in most practical cases this should be sufficient)

Current behaviour is exactly the one that I would expect.