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

Physical layouts' kscan drivers may conflict when CONFIG_PM_DEVICE=n #2479

Open
joelspadin opened this issue Sep 15, 2024 · 0 comments
Open
Labels
bug Something isn't working core Core functionality/behavior of ZMK studio ZMK Studio (runtime keymaps)

Comments

@joelspadin
Copy link
Collaborator

If you build the zmk_uno shield with CONFIG_PM_DEVICE=n, then both the matrix and direct kscan drivers are initialized and enabled. Since these two drivers are mutually exclusive (they use the same pins), this breaks key scanning.

If CONFIG_PM_DEVICE=y, then the driver for the unselected physical layout is suspended and disconnects itself, so the selected layout works correctly.

@joelspadin joelspadin added bug Something isn't working core Core functionality/behavior of ZMK studio ZMK Studio (runtime keymaps) labels Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Core functionality/behavior of ZMK studio ZMK Studio (runtime keymaps)
Projects
None yet
Development

No branches or pull requests

1 participant