Skip to content

Hot fix#2877

Open
nxz1026 wants to merge 6 commits into
lyswhut:masterfrom
nxz1026:master
Open

Hot fix#2877
nxz1026 wants to merge 6 commits into
lyswhut:masterfrom
nxz1026:master

Conversation

@nxz1026

@nxz1026 nxz1026 commented Jun 22, 2026

Copy link
Copy Markdown

修复打包时候的依赖问题。

nxz1026 and others added 6 commits June 22, 2026 13:07
- Add node-hid dependency for USB HID communication
- Create HID packet builder (64-byte protocol for Halo PixelBar)
- Create HID device communicator (device discovery, connect, send)
- Create halo module entry with lyric sync logic:
  * Directly reads global.lx.player_status for zero-latency lyrics
  * LRC binary search fallback when lyricLineText is empty
  * Song info display on track change (3s duration)
  * Auto switch to clock UI after 30s idle timeout
  * Configurable color, layout, max chars, progress display
- Add halo settings UI (Pug/Less, following existing patterns)
- Add i18n strings for both zh-cn and en-us
- Register halo module in modules/index.ts
feat: add Halo PixelBar USB HID lyric sync module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant