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

sticky layer on another layers #2359

Open
Hoffmano opened this issue Jul 3, 2024 · 3 comments
Open

sticky layer on another layers #2359

Hoffmano opened this issue Jul 3, 2024 · 3 comments

Comments

@Hoffmano
Copy link

Hoffmano commented Jul 3, 2024

My desired setup

Layer 0 - conditional layer to layer 4
layer 4 - &to layer 5
layer 5 - &sl layer 2

but on layer 5 I can't do sticky layer or even momentary layer, only to layer works

any tip ou trick about this

setup explanation
layer 0 is my daily layer
layer 2 is my number layer
layer 5 is my gaming layer, without any modifiers on homing row
laayer 4 is a layer hub

@Hoffmano
Copy link
Author

Hoffmano commented Jul 3, 2024

I've made a test using sticky layer on default layer and work properly

@Hoffmano
Copy link
Author

Hoffmano commented Jul 3, 2024

@caksoylar
Copy link
Contributor

FYI you can edit your original post, no need to post extra comments.

When you use &sk 2 from layer 5 (that is turned on with &to 5) layer 5 is still active. This means that when you press a key, layer 5 will capture it before layer 2, unless it has &trans. This priority order is described in https://zmk.dev/docs/features/keymaps#layers. So reorder your layers so that you aren't activating a lower-indexed layer from a higher-indexed layer.

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