microsoft / microsoft/ArduinoHidForWindows
Windows imposes limitations on HID report descriptor
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 159
- Forks
- 11
- Ø Merge
- 3 Std. 20 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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:
- The lamp count or lamp ID is placed in a single byte in the reports.
- The lamp purposes is placed in a single byte.
- 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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Variationen des Reports auf einem Windows 11-Host zu reproduzieren, und teste dabei die Single-Byte-Felder für Lampenanzahl oder -ID, Zweck und Art. Vergleiche, ob Dynamic Lighting aktiviert wird, und achte besonders auf LampMultiUpdateReports; abgeschlossen ist die Aufgabe, wenn die reproduzierbare Einschränkung und ihre Auswirkung auf den Speicherplatz des Report-Puffers eindeutig dokumentiert sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- embedded-iot, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100