Conversation
Modify and display miyoo285 according to miyoo354
…close events, lid close settings options (#1860) This PR introduces initial compatibility for the Miyoo Mini Flip handheld device, bringing hardware detection, lid close event handling, and user-configurable lid behavior options to Onion OS. Features Hardware Detection Adds new device ID (MODEL_MMF) for Miyoo Mini Flip identification Implements runtime hardware detection to differentiate between Mini Plus and Mini Flip Lid Close Event Handling Detects lid open/close events via the device's Hall sensor Implements suspend/wake functionality triggered by lid state changes Prevents sleep timer conflicts with lid open wake events Lid Close Settings (Tweaks Menu) Sleep: Closes the lid to put the device to sleep (wake on lid open) Shutdown: Gracefully shuts down the device when the lid is closed (with savestate support) Disabled: Lid events are ignored Respects the existing "sleep to shutdown" timer setting for consistent behavior USB-C Headphone Detection Implements audio output switching between speaker and USB-C headphones (tenlevels implementation) WiFi Support Enables WiFi functionality on the Mini Flip hardware MainUI Compatibility Uses MainUI 354 binaries (Clean/Expert) to maintain proper 640x480 resolution compatibility with existing Onion themes Technical Details 23 commits, +324/-34 lines changed Based on implementation work from Allium project Tested and validated on actual Mini Flip hardware Credits Initial implementation by @xXJSONDeruloXx Headphone detection based on tenlevels' work Testing and review by @Dark98,@Sichroteph, @Aemiii91, and community members
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Do not squash this.