How to code a logical collection with both input and output items?
还没有人认领这个 Issue。
评估
调研方向
从 issue 中包含的 Waratah 描述符语法和 Braille 行示例开始。由于没有指定文件或测试,首先定位与逻辑集合和输入/输出项处理相关的部分,然后验证文档所述的方法会生成一个同时包含两种项类型的集合。
由索引模型根据 Issue 内容生成。
描述
I am rewriting the descriptor for a Braille display with Waratah. As part of my pre-existing descriptor, I have the following:
0x05, 0x41, // Usage Page (Braille Display Page)
0x09, 0x02, // Usage (Braille Row)
0xA1, 0x02, // Collection (Logical)
0x09, 0x05, // Usage (Number of Braille Cells)
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8)
0x95, 0x01, // Report Count (1)
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x09, 0x03, // Usage (8 Dot Braille Cell)
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8)
0x95, 0x28, // Report Count (40)
0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0x09, 0xFA, // Usage (Router Set 1)
0xA1, 0x02, // Collection (Logical)
0x0A, 0x00, 0x01, // Usage (Router Button)
0x15, 0x00, // Logical Minimum (0)
0x25, 0x01, // Logical Maximum (1)
0x75, 0x01, // Report Size (1)
0x95, 0x28, // Report Count (40)
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0xC0, // End Collection
In short, I have a logical collection (a Braille row) grouping output items (Braille cells) with input items (routing buttons).
The standard demands that I group the Braille cells and the routing buttons under the same Braille row logical collection.
How do I write this in Waratah?
- 主要语言
- C#
- 星标
- 296
- 派生
- 39
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/hidtools 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 42/100
查看 microsoft/hidtools 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 78/100
QuantConnect/Documentation#2838 ·
维护者通常 1 天内回复
-
"Create your app": .sln/.slnx step and Solution Explorer instructions don't match current C# Dev Kit未关闭area-tutorials needs-triage
难度 1/5 1-3 小时 新手友好度 72/100
dotnet/website-feedback#1844 ·
-
Needs: Attention :wave: v5 v5-preview5
难度 2/5 1-3 小时 新手友好度 62/100
Azure/azure-functions-core-tools#5852 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
OrchardCMS/OrchardCore#20194 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
维护者通常 1 天内回复