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

Lemokey P1 Rear Switch Toggle Mapping #332

Open
jekku opened this issue Nov 23, 2024 · 1 comment
Open

Lemokey P1 Rear Switch Toggle Mapping #332

jekku opened this issue Nov 23, 2024 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@jekku
Copy link

jekku commented Nov 23, 2024

Issue Description

Hello,

I've been poking around at the wireless_playground branch to build custom firmware for a LemoKey P1 Pro.

I am looking for a way to bind the rear switch (2.4Ghz, BT, Wired selector) to something in keymap.c

Do we have an enum for events emitted by the rear switch, or is it a read-only value at the hardware level that cannot be set to a bind?

Thanks

@jekku jekku added help wanted Extra attention is needed question Further information is requested labels Nov 23, 2024
@lokher
Copy link
Member

lokher commented Nov 29, 2024

Dip switch can't be binded to keymap, but the keycode of specified position of keymap can be accessed by keymap_key_to_keycode function, and there is event for DIP switch:
https://docs.qmk.fm/features/dip_switch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants