Skip to content

Tags: mkl159/miyoodeck

Tags

v1.6

Toggle v1.6's commit message
v1.6: fix infoPanel timeout, add preview screenshot, update README

- launch.sh: reduce infoPanel --timeout from 20s to 10s so physical
  buttons work immediately after the overlay auto-dismisses
- docs/preview.png: add interface screenshot for README
- README: update framebuffer section (auto-detect 16/32-bit via ioctl)
- ARM binary rebuilt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.5

Toggle v1.5's commit message
fix: auto-detect framebuffer format + read battery from /tmp/percBat

screenshot:
- getFbInfo() reads BPP (16 or 32) and R/G/B channel offsets via
  FBIOGET_VSCREENINFO ioctl — works for both RGB565 (MM original) and
  ABGR8888 (MM Plus) without hardcoding assumptions
- channelTo8bit() extracts any channel using kernel-provided offset+length,
  correct for any pixel format the driver reports
- No more hardcoded BGR565 — color channels are now always accurate

battery:
- Read percentage from /tmp/percBat (written by Onion's batmon daemon)
  This is the correct method for ALL Miyoo Mini models on Onion OS
  Previous code read from sysfs /sys/class/power_supply/ which does not
  exist on the original Miyoo Mini
- readChargingState() tries /tmp/axpState cache, then GPIO59 fallback
- Still falls back to sysfs for edge cases

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.4

Toggle v1.4's commit message
fix: image rotation, tearing, refresh rate, infoPanel timeout

- screenshot: rotate image 180deg - Miyoo Mini framebuffer is stored upside-down
  relative to display orientation; flip both X and Y axes to correct
- fb_linux.go: FBIOGET_VSCREENINFO ioctl to seek to the currently displayed
  triple-buffer before reading, eliminates old TV tearing effect
- fb_other.go: stub for non-Linux builds (go build on Windows still works)
- screenshot: switch WebSocket stream to JPEG quality 80 - 5x faster than PNG
  on ARM Cortex-A7, smoother live preview
- websocket: screenshot interval 3s->1.5s (menu), 5s->3s (in-game)
- launch.sh: infoPanel timeout 8s->20s so IP is visible long enough to type

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.3

Toggle v1.3's commit message
docs: update README for v1.3 — gamepad, color fix, crash fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.0.0

Toggle v1.0.0's commit message
chore: add MIT license

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>