Raw hid improvements - #32
Draft
Cloveian wants to merge 8 commits into
Draft
Conversation
Adds a new CONFIG_NICE_OLED_WIDGET_RAW_HID_MEDIA_PLAYER_LINUX flag that enables receiving compact media title data from a Linux host companion app via HID byte 0xB0 (MediaPlayerLinux). The packet format is: [0xB0, char1..charN] (no length prefix, no padding, max 32 chars) Changes: - hid.h: new media_player_linux_notification event struct + ZMK_EVENT_DECLARE - hid.c: _MEDIA_PLAYER_LINUX = 0xB0 enum value, event impl, case handler - util.h: media_player field now gated on SPOTIFY_MACOS || LINUX, sized 33 - Kconfig: MEDIA_PLAYER_LINUX bool; MEDIA_PLAYER_FONT_SIZE int (default 7) for a separate per-line font distinct from the main HID font; scroll Kconfigs (SCROLL, SCROLL_SPEED_MS, SCROLL_START_PAUSE_MS, SCROLL_END_PAUSE_MS) Co-Authored-By: Claude Sonnet 4.6 <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.
Add media widget and support for stuff in this PR waiting on that, blablabla, to lazy to finish writing good discription on draft pr
Adds ability to specify text size for the raw hid stuff
Adds 3 fonts specifically made for 5,6, and 7px as the normal font generation is bad at those levels
and uhh... stuff
TODO: finish this pr description
TODO: make epaper media widget
TODO: update readme with config values
TODO: update gallary
TODO: remember the rest of the TODOs
assisted by claude-sonnet-4.6 and deepseek-v4-pro