Skip to content

I made an oopsie: detect spruce platform is ACTUALLY being used - #338

Merged
ImCoKeMaN merged 1 commit into
PortsMaster:mainfrom
spruceUI:spruce-platform-detect
Sep 12, 2026
Merged

ImCoKeMaN merged 1 commit into
PortsMaster:mainfrom
spruceUI:spruce-platform-detect

Conversation

@Sundownersport

Copy link
Copy Markdown
Contributor

PlatformSpruce was added in #337 but never gets selected. harbour.py picks the
platform from hardware.py's device_info(), which has no spruce check, so devices
match trimui or miyoo instead. spruce runs on top of the stock firmware, so the
check has to come after those rather than before.

Also sets WANT_XBOX_FIX to true. spruce gives pugwash a positional pad on every
device, so it needs the same A/B correction the other platforms use.

Tested on a TrimUI Smart Pro S, an Anbernic RG28XX and a Powkiddy RGB30.

The diff is exactly what our launch-time patches do, so merging it lets us drop those later, and nothing breaks in the meantime if it sits unmerged. And the WANT_XBOX_FIX half reverses a value from our own previous PR.... my bad....

@ImCoKeMaN
ImCoKeMaN merged commit 3eb0469 into PortsMaster:main Sep 12, 2026
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.

3 participants