Opened 3 years ago

Last modified 3 years ago

#16647 closed bug

Problem with HIDReportItem and padding — at Initial Version

Reported by: lt_henry Owned by: mmlr
Priority: normal Milestone: R1/beta4
Component: Drivers/Input/HID/USB Version: R1/beta2
Keywords: Cc: mmlr
Blocked By: Blocking:
Platform: All

Description

So it seems that some usb keyboards are not working on Haiku because they send keystroke reports using a bitmap instead of the more common way of using arrays. Perhaps, I should have opened a bug ticket with this... Instead, I have ended trying to fix myself, and I almost done, but I am blocked by a bug.

The report descriptor, from what I understand, defines a 8 bit constant padding and a 112 bit with current keystroke status. Whenever I press key A, with usage 0x04, I get an I, with usage 0x0C, and so on with B,C,D,... So it seems that padding is not being honored.

disclaimer: I am not a usb hid guru and I may have done some wrong assumptions

Change History (1)

by lt_henry, 3 years ago

Attachment: report-5.txt added

Report descriptor with human friendly comments

Note: See TracTickets for help on using tickets.