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

AnalogueKeyboard: Fix crashing with Keychron/Lemokey keyboards #145

Merged
merged 1 commit into from
Mar 15, 2025

Conversation

Azarattum
Copy link
Contributor

I've found a solution to AnalogSense/universal-analog-plugin#6 that works reliably. Now we don't send version reports on discovery requests, but when the actual keys are polled. The version requested only once and the result is encoded in keychron.state (where 0 - unknown, 1 - single key, ff - full report). I've also adjusted the single key to work with the new state encoding.

Tested on Lemokey P1 HE in the wooting midi app and in Cyberpunk with both single key and full report modes.

@Sainan Sainan merged commit 54a9256 into calamity-inc:senpai Mar 15, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants