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

Toggle layer until an idle timeout has been reached #2403

Open
kovasap opened this issue Aug 4, 2024 · 3 comments
Open

Toggle layer until an idle timeout has been reached #2403

kovasap opened this issue Aug 4, 2024 · 3 comments

Comments

@kovasap
Copy link

kovasap commented Aug 4, 2024

I'd like to try toggling a layer until a configurable number of seconds has elapsed, at which point the layer would toggle off. Is there any way to do this in zmk currently?

@caksoylar
Copy link
Contributor

Not exactly as described. Sticky layers have a timeout but they'll also deactivate the layer before the timeout if any keycode is sent.

@kovasap
Copy link
Author

kovasap commented Aug 4, 2024 via email

@caksoylar
Copy link
Contributor

I think a clever application of the tri-state behavior (#1366, also available as a module) using the timeout-ms property and &tog bindings might work for this. But you might need to set ignored-* properties as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants