PRISM.unified
UI component patterns and touch input handling for M5Stack Tab5 applications using M5GFX and LVGL.
Introduction
The PRISM.unified M5Stack Tab5 UI skill provides a standardized framework for developing interactive applications on M5Stack hardware. Designed for embedded engineers and developers working within the PRISM ecosystem, this skill simplifies the implementation of touch-driven user interfaces, display management, and navigation state machines. By leveraging M5GFX and common UI paradigms, it enables rapid development of responsive, touch-enabled control panels for the K1 Lightwave LED controller system and related mobile applications.
-
Advanced touch input handling: Implements state machine logic for differentiating between simple taps, long presses, and complex swipe gestures using esp_timer and M5GFX.
-
Display performance optimization: Includes patterns for double-buffering and dirty region rendering to ensure smooth UI updates on resource-constrained embedded hardware.
-
UI Component scaffolding: Provides reusable logic for buttons, cards, and list management to maintain a consistent visual language across Tab5-based controllers.
-
Navigation and State control: Offers boilerplate code for handling navigation flows and application state transitions within the embedded device environment.
-
The skill acts as a reference library for M5Stack Tab5 hardware interactions; users should provide input dimensions and specific UI requirements to generate tailored boilerplate code.
-
Expected outputs include C/C++ source snippets compatible with ESP-IDF and PlatformIO environments used in the PRISM.unified monorepo.
-
It is highly optimized for the 320x240 resolution typical of Tab5 displays, incorporating specific color depth considerations (16-bit RGB565) and touch-event thresholds.
-
Use this skill when building new interface modules for the K1 Lightwave controller or when migrating existing logic to the M5Stack mobile app tier.
-
Ensure all hardware-specific definitions such as DISPLAY_WIDTH and DISPLAY_HEIGHT are aligned with your board revision before compiling.
Repository Stats
- Stars
- 0
- Forks
- 0
- Open Issues
- 0
- Language
- C
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- May 4, 2026, 02:00 AM