Add LED zones for multi-player support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- cli, embedded-iot
调研方向
首先检查当前 daemon 状态、pipe 协议、plasmactl 入口点以及现有配置格式,然后将提议的方法与 issue #13 进行比较。定义 plasma.conf 如何命名区域、offset 和 count 如何映射 LED,以及区域选择如何传递到 daemon。完成的标准是:一个 daemon 可以通过 plasmactl --zone 控制多个已配置的区域,而不采用 #13 中存在冲突的设计。
由索引模型根据 Issue 内容生成。
描述
This is a suggested alternative to #13 which has been conflicted beyond rescue.
- A zones section in plasma.conf where you can set a name with an offset + count
- hoist all the daemon's state out of
maininto per-zone state - add some way to specify zone in the pipe protocol
--zonein plasmactl
Instead of two daemons, it becomes plasmactl --zone player1 and plasmactl --zone player1 with the single daemon mapping all LEDs connected to the board, and the zone config deciding which player (or other feature, such as pulsing status LEDs, underlights, etc) controls which lights.
- 主要语言
- Python
- 星标
- 18
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pimoroni/plasma-python 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
pimoroni/plasma-python#17 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
pimoroni/plasma-python#16 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 25/100
pimoroni/plasma-python#15 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 38/100
pimoroni/plasma-python#14 ·
-
难度 4/5 3-5 天 新手友好度 25/100
pimoroni/plasma-python#9 · 6 条评论 ·
查看 pimoroni/plasma-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
fritzprix/libr-agent#2612 ·
维护者通常 1 天内回复
-
needs-triage presubmit-gate
难度 2/5 1-3 小时 新手友好度 76/100
gke-labs/kube-agents#5001 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
simonw/sqlite-utils#928 ·
维护者通常 3 天内回复
-
colorado
难度 2/5 1-3 小时 新手友好度 72/100
freelawproject/juriscraper#2405 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
cline/mcp-marketplace#3576 ·