The DejaOS Simulator is a native desktop UI runtime integrated into the VSCode DejaOS Plugin (v1.0.44+). It allows developers to preview and interact with device UIs before deploying to physical hardware by executing project JavaScript via QuickJS and rendering dxUi through LVGL's Windows driver.
Supported Platform: Local Windows x64 VSCode environments only. Remote SSH, WSL, VSCode Web, and macOS are not supported.
Key Capabilities:
- Native QuickJS execution and LVGL/dxUi rendering.
- Support for SDK 2.0 UI Workers and SDK 4.0 unified runtime.
- Loading
.ui files via uiLoader. - Support for project images, TTF fonts, mouse interaction, buttons, text input, JS UI events, animations, and timers.
- Use of the project's
dxmodules/dxDriver.js for display configuration (width, height, DPI, and board constants). - Runtime logs available in the VSCode DejaOS Simulator output channel.