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

Make led, rotary & button settings configurable at runtime #358

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from

Conversation

tueddy
Copy link
Collaborator

@tueddy tueddy commented Jan 3, 2025

This PR makes these settings configurable at runtime:

NUM_INDICATOR_LEDS
NUM_CONTROL_LEDS
CONTROL_LEDS_COLORS
NUM_LEDS_IDLE_DOTS
OFFSET_PAUSE_LEDS
PROGRESS_HUE_START
PROGRESS_HUE_END
DIMMABLE_STATES
NEOPIXEL_REVERSE_ROTATION
LED_OFFSET

REVERSE_ROTARY

BUTTON_0_SHORT - BUTTON_5_SHORT
BUTTON_0_LONG - BUTTON_5_LONG
BUTTON_MULTI_01 - BUTTON_MULTI_45

PR is fully backwards compatible. All existing #defines are used for now.

@@ -176,13 +225,21 @@
"172": "Nächster Titel",
"173": "Erster Titel",
"174": "Letzter Titel",
"175": "Initialie Lautstärke",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initiale

"numcontrol": "Number of control LEDs",
"controlled": "Control-LED",
"numidledots": "Number of LEDs in idle state",
"offsetpause": "Centre pause LEDs",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Center

"181": "Springe rückwärts (n Sekunden)",
"182": "Stop",
"183": "Neustart",
"199": "Taskauslastung anzeigen"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vielleicht fügt man hinten noch "(Konsole)" hinzu.

@@ -176,8 +225,14 @@
"172": "Next track",
"173": "First track",
"174": "Last track",
"175": "Initial volume",
"176": "Louder",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vielleicht ist "Volume up" bzw. "Volume down" passender. "Quieter" klingt irgendwie falsch, aber ich hab's tatsächlich mitunter auch so im Internet gefunden.

@@ -176,6 +225,11 @@
"172": "Piste suivante",
"173": "Première piste",
"174": "Dernière piste",
"175": "Volume initial",
"176": "Louder",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Augmenter le volume

@@ -176,6 +225,11 @@
"172": "Piste suivante",
"173": "Première piste",
"174": "Dernière piste",
"175": "Volume initial",
"176": "Louder",
"177": "Quieter",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Baisser le volume

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