Windows imposes limitations on HID report descriptor

オープン
#9 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp

調査の方向性

まず Windows 11 ホスト上でレポートのバリエーションを再現し、1 バイトのランプ数または ID、目的、種類のフィールドをテストします。Dynamic Lighting が有効になるかどうかを比較し、LampMultiUpdateReports に特に注意してください。再現可能な制限と、それがレポートバッファの容量に与える影響を明確に文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Admittedly this issue doesn't strictly belong here, but I also have no better place to report it. I was testing different ways to reduce the report sizes, and found that the Windows 11 host will not activate Dynamic Lighting (nor will indicate any error in Device Manager or wherever), if one of the following is true:

  1. The lamp count or lamp ID is placed in a single byte in the reports.
  2. The lamp purposes is placed in a single byte.
  3. The lamp kind is placed in a single byte.

The latter two are only annoyances, but the lamp ID limitation is more severe in the case of LampMultiUpdateReports, as in this report there are a series of lamp ID fields, which waste a lot of buffer space if the device wants to support updating a large number of LEDs in one report.

主要言語
C++
スター
159
フォーク
11
平均マージ
3時間 20分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。