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

How to use layers? #87

Open
postelrich opened this issue Jun 24, 2017 · 1 comment
Open

How to use layers? #87

postelrich opened this issue Jun 24, 2017 · 1 comment

Comments

@postelrich
Copy link

I'm trouble seeing how to switch layers. I've looked at keyboard--short-names but don't see anything regarding layer switching. What I'd like to do is have page up/down toggle layers. Any direction would be great.

@benblazak
Copy link
Owner

The keyboard--short-names file lists short names for the key codes defined in the USB spec. Layers are never sent to the host, so there's no key code for them. Instead, look at lib/key-functions/public/basic.c and at how the layer push pop functions are used in the layouts in the repo.

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