Skip to content

updating descriptor#8

Merged
RobertDaleSmith merged 3 commits into
mainfrom
sgowda/hid-update
Mar 25, 2026
Merged

updating descriptor#8
RobertDaleSmith merged 3 commits into
mainfrom
sgowda/hid-update

Conversation

@sgowda
Copy link
Copy Markdown
Collaborator

@sgowda sgowda commented Dec 17, 2025

No description provided.

sgowda and others added 3 commits December 17, 2025 13:34
- Report ID 3: Changed from 1-byte to 2-byte payload (16-bit usage selector)
- Report ID 4: Added keyboard release report (8-byte standard keyboard format)
Translate old 1-byte bitmap format to new 16-bit usage selector format
for Report ID 3 (Consumer Control). This allows old MouthPad firmware
to work with the updated HID descriptor.

Old format: 8 individual bit flags (1 byte)
New format: 16-bit usage code selector (2 bytes)

Mapping:
- bit 0 -> 0x00CD (Play/Pause)
- bit 1 -> 0x0183 (AL Consumer Control Config)
- bit 2 -> 0x00B5 (Scan Next Track)
- bit 3 -> 0x00B6 (Scan Previous Track)
- bit 4 -> 0x00EA (Volume Decrement)
- bit 5 -> 0x00E9 (Volume Increment)
- bit 6 -> 0x0225 (AC Forward)
- bit 7 -> 0x0224 (AC Back)
@RobertDaleSmith RobertDaleSmith merged commit 4336c31 into main Mar 25, 2026
13 checks passed
@RobertDaleSmith RobertDaleSmith deleted the sgowda/hid-update branch March 25, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants