Skip to content
This repository was archived by the owner on Aug 16, 2026. It is now read-only.

fix: support the full Mini Flip volume range - #238

Open
dime-online wants to merge 1 commit into
spruceUI:developmentfrom
dime-online:agent/fix-mini-flip-volume-range
Open

fix: support the full Mini Flip volume range#238
dime-online wants to merge 1 commit into
spruceUI:developmentfrom
dime-online:agent/fix-mini-flip-volume-range

Conversation

@dime-online

Copy link
Copy Markdown

Summary

  • keep the Mini Flip adapter on PyUI's existing 0–100 volume contract
  • map each five-point PyUI step to one of Sprig's 0–20 hardware levels
  • correct the two fallback paths to sprig/scripts/helperFunctions.sh

Root cause

SystemConfig exposes the stored 0–20 value to PyUI as 0–100, and the settings UI displays that value divided by five. The Sprig Mini adapter was the only layer clamping it to 0–50 and then scaling it back to 0–20. That capped Settings at 10, made a menu adjustment span two hardware levels, and could collapse a side-button value above 10 during startup or the next menu adjustment.

Validation

  • syntax check
  • all 21 canonical levels and all 42 left/right transitions
  • lower and upper clamps, mute boundary, direct procfs writes, and both shell fallbacks
  • full 0–20 sweep on Miyoo Mini Flip hardware
  • confirmed 20 → 19, side-key/menu interoperability, and persistence after reboot

Fixes #237

@dime-online
dime-online marked this pull request as ready for review August 5, 2026 22:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mini Flip: Settings volume is capped at 10 while side keys use 0–20

1 participant