Repository navigation
Conversation
Define WILRESS_RAW_ENABLE for the K10 HE so raw HID packets from the 2.4 GHz receiver reach the keyboard, which lets Keychron Launcher configure it without a cable. The guarded code called via_raw_hid_receive(), which is not defined anywhere in the tree, so enabling the define did not link. Call the existing three-argument raw_hid_receive() with RAW_HID_SRC_WIRELESS instead, so replies are routed back over the wireless transport. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Defines
WILRESS_RAW_ENABLE(existing spelling) for the K10 HE so raw HID packets from the 2.4 GHz receiver reach the keyboard. With this, Keychron Launcher connects and configures the keyboard through the receiver, without a cable.The guarded code in
wireless.ccalledvia_raw_hid_receive(), which is not defined anywhere in the tree, so the define could not be enabled without a link error. This changes it to the existing three-argumentraw_hid_receive(RAW_HID_SRC_WIRELESS, ...), which routes replies back over the wireless transport.Related: #537 makes the same call-site fix for the Q5 Max and also gives each queued packet its own buffer; #504 and #505 enable the same path for the K8 HE. This PR is the K10 HE opt-in and can be rebased on whichever of those lands first.
Types of Changes
Verification
make keychron/k10_he/ansi:keychronbuilds.0xA1firmware version,0xA9profile info and profile select).Note that with this enabled, any inbound raw HID packet restarts the keyboard's sleep timer (
lpm_timer_reset()in theEVT_RAW_HIDhandler), so a host tool that polls will keep the keyboard awake.🤖 Generated with Claude Code