Files
cuicuiV5 44415fa442 feat(companion): add ultra-lightweight distributable PC host daemon and F13-F24 custom key mappings
- Added F13-F24 custom key mappings in WebUI dropdown and DOM_TO_HID map

- Created pc_companion package with zero-CPU Win32 RegisterHotKey daemon (remotemapper_host.py)

- Added JSON hot-reload config, autostart manager, silent background launcher, and PyInstaller builder

- Ensured full portability with dynamic relative path resolution and Python environment resolution for distribution
2026-08-30 20:42:50 +08:00

721 B
Raw Permalink Blame History

RemoteMapper PC Companion (本地脚本扩展守护程序)

通过在 ESP32 WebUI 中将遥控器按键映射为 F13 ~ F24 无冲突按键,本程序可在电脑后台以 0.0% CPU 占用 实时监听并异步执行本地自定义脚本。

快速使用方法

第一步:在 WebUI 中将遥控器按键配置为 F13 ~ F24

  1. 电脑浏览器打开 WebUI (http://192.168.2.179 或 http://192.168.4.1);
  2. 点击想绑定的遥控器按键(例如 菜单键、电视键、电源键 或任意按键);
  3. 在弹出的高级下拉菜单中,选择 ??? 本地自定义脚本专用键 (F13 ~ F24 无冲突)(例如 F13 或 F14 等);
  4. 点击 保存映射。

第二步:配置你想执行的本地动作

打开 pc_companion/config.json,根据需求修改或添加命令: 随时修改保存 config.json,程序会自动热更新重新载入!

第三步:启动守护进程

双击运行 start_companion.bat 即可!