2025-09-25

Updated: 2024/7/3
Read Time: 5 min
Introduced HID layout nodes and XML support, aligning HID control lookup semantics with accessibility; Supports screenshots for any application (bypassing screenshot restriction scenarios); Remote debugging and dark theme UI optimizations.

v19240

This release focuses on HID Control Nodes & Layout XML Support, achieving a unified development experience across HID, ADB, and Accessibility modes, along with breakthrough screenshot enhancements.


Core Updates

New Modules

  • $hid - Auto-detects ESP32 Bluetooth/OTG/USB
  • $hid.esp32ble - ESP32 Bluetooth Mode
  • $hid.esp32otg - ESP32 OTG-USB Mode
  • $hid.multi - Multi-mode Tri-mode Keyboard/Mouse
  • $hid.http - Client Mode
  • $assistant - Voice Assistant + Layout Analysis
  • $shellHttp - Computer-free ADB Automation

HID Layout Nodes & XML Node Support

  • HID mode now supports layout nodes (XML) for the first time;
  • Control lookup methods are fully consistent with accessibility;
  • Supports semantics like findOne, find, click, text, id, desc;
  • Can directly parse application interface structures for UI automation.

Screenshot Breakthrough

  • Supports screenshots for any application (including system/protected apps);
  • No Root / Shizuku required;
  • HID mode screenshot speed improved by approximately 30%.

Unified API Format

  • HID and Accessibility API naming formats aligned;
  • Provides control tree debugging tools;
  • Backwards compatible with old script formats.

Other Optimizations

  • Control client supports dark theme;
  • Remote debugging panel upgraded;
  • HID node analyzer performance optimized (smooth even with >3000 nodes).

Developer Tips

The HID XML capability in this version equips HID mode with full UI automation capabilities, recommended for upgrade. The same script code now supports three control modes, making maintenance much more convenient.