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

Feature request: Adding support for combo layers #16

Open
doesntfazer opened this issue Jun 5, 2024 · 3 comments
Open

Feature request: Adding support for combo layers #16

doesntfazer opened this issue Jun 5, 2024 · 3 comments

Comments

@doesntfazer
Copy link

It would be cool to see combo layers working. I use them on all of my keyboards, but it doesn't look like you can add them manually without breaking POG.

@doesntfazer
Copy link
Author

@doesntfazer
Copy link
Author

I was able to get it working by adding it manually to the kb.py file.

    def __init__(self, features=['basic']):
        if "basic" in features:
            from kmk.modules.layers import Layers; self.modules.append(Layers())
            from kmk.extensions.media_keys import MediaKeys; self.extensions.append(MediaKeys())
            combo_layers = {
            (1, 2): 3,
            }
        self.modules.append(Layers(combo_layers))

@JanLunge
Copy link
Owner

JanLunge commented Jun 7, 2024

I will test this on my board so we can ship some demo code in the kb.py until it is available in the gui 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