Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to execute a macro on layer-shift or dual-function #4

Open
jacott opened this issue Oct 9, 2023 · 1 comment
Open

Ability to execute a macro on layer-shift or dual-function #4

jacott opened this issue Oct 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jacott
Copy link

jacott commented Oct 9, 2023

At present I can't hold down a key to shift to a new layer while also sending a key press to the computer

I would like to be able to select a macro to play as part of holding down a key to change layers. Ideally a macro could also be played on releasing a key.

The keyd utility has this functionality in functions called layerm(<layer>, <macro>), oneshotm(<layer>, <macro>) and others. In fact keyd has a bunch of features that would be nice in Bazcor.

I suggest adding config for run-macro-on-press and run-maro-on-release which could be attached to any other config for a key.

Another way this might be achieved is in the macro itself: a token could be added once anywhere in the sequence called wait-for-key-release. More macro features would be needed like toggle/untoggle-layer (in addition to lock-to-layer) so that the original layer can be restored on key-release.

@jacott jacott added the enhancement New feature or request label Oct 9, 2023
@alexpargon
Copy link
Contributor

wow @jacott, nice suggestion! i will push it to the FW devs so we can look into it better

@alexpargon alexpargon transferred this issue from Dygmalab/Bazecor Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants