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

LM() support #270

Open
ooooooonfdfasn opened this issue Sep 30, 2024 · 2 comments
Open

LM() support #270

ooooooonfdfasn opened this issue Sep 30, 2024 · 2 comments

Comments

@ooooooonfdfasn
Copy link

I can't use LM. Neither web nor local version. When I enter the keycode directly, it changes to 0x5032 and doesn't work.

@ooooooonfdfasn ooooooonfdfasn changed the title LM() LM() support Sep 30, 2024
@Johtomma
Copy link

Johtomma commented Nov 23, 2024

Actually LM(1, keycode) seems to work. I am using it to shift hold and use layer 1. Which could mean that it might only work for layer 1. Or that the generated code is wrong or interpreted wrong somehow.

@greqov
Copy link

greqov commented Feb 13, 2025

It works indeed! The caveat here is that you can only switch to higher layer, i.e. from layer 0 to layer 2 but not from layer 2 to layer 0.
For example, let's say we have a numbers layer 4. We want to switch to it with shift to get access to symbols on those numbers (! @ # etc). To do that we add code LM(4, MOD_LSFT) to a key on current base layer 0, GUI will show it as 0x5942. When we press that key + corresponding number key we'll get a symbol (like % for 5).

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

3 participants