Skip to content

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

Open
Sundownersport wants to merge 1 commit into
PortsMaster:mainfrom
spruceUI:spruce-platform-detect
Open

I made an oopsie: detect spruce platform is ACTUALLY being used#338
Sundownersport wants to merge 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....

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