You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implement assmums that keyboard is located on interface0 and mouse is on interface1.
And it won't work with device using other interface than 0 or 1.
Workaround
Use two instances instead, one for keyboard and other for mouse.
This allows us to keep hidboot implementation simple.
This should work even if keyboard or mouse is located on any interface.
Three drivers are registered to USBCore and it attempt to load the drivers in order when device is detected.
This example can handle three devices; composite device, keyboard-only device and mouse-only device by the drivers respectively.
This issue is related to #6 too.
Support for composite of keyboard and mouse was introduced at commit 2432379 d17e1f9
This allows one instance of HIDBoot to handle keyboard and mouse using two HIDReprotParsers like below.
Problem
Current implement assmums that keyboard is located on interface0 and mouse is on interface1.
And it won't work with device using other interface than 0 or 1.
Workaround
Use two instances instead, one for keyboard and other for mouse.
This allows us to keep hidboot implementation simple.
This should work even if keyboard or mouse is located on any interface.
Note that this workaround requires fix for #6 at same time.
EDIT: This workaround doesn't work because only one driver is assigned for a device.
The text was updated successfully, but these errors were encountered: