Skip to content

Add panel control code example - #63

Draft
RhythrosaLabs wants to merge 1 commit into
bangcorrupt:mainfrom
RhythrosaLabs:upstream/issue-29-panel-codes
Draft

RhythrosaLabs wants to merge 1 commit into
bangcorrupt:mainfrom
RhythrosaLabs:upstream/issue-29-panel-codes

Conversation

@RhythrosaLabs

Copy link
Copy Markdown

Summary

Adds a standalone APP=panel-codes example for discovering and documenting panel input codes.

The example:

  • registers button, knob, and encoder callbacks
  • logs every event with its numeric code and value
  • names the currently documented controls
  • leaves unknown codes visible as UNKNOWN so hardware discovery can continue safely

Resolves #29.

Validation

  • cc -std=c11 -Wall -Wextra -Werror -fsyntax-only passes with the repository firmware include paths.
  • make -C cpu APP=panel-codes could not run because arm-none-eabi-gcc is not installed in this environment.

This branch comes from the upstream main baseline and is published from the RhythrosaLabs/freetribe-studio fork.

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.

create example showing all button codes

1 participant