22 | | - Or, modify MouseProtocolHandler to be created from multiple reports. This is probably better in this case, and we can take a look at keyboard handlers, which already handle two reports: one input for the keys, one output for the keyboard LEDs: https://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/input/hid_shared/KeyboardProtocolHandler.cpp#n298 |
23 | | |
24 | | So, probably MouseProtocolHandler can do something similar. |
| 22 | - Or, modify MouseProtocolHandler to be created from multiple reports. This is probably better in this case, and we can take a look at keyboard handlers, which already handle two reports: one input for the keys, one output for the keyboard LEDs: https://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/input/hid_shared/KeyboardProtocolHandler.cpp#n298 So, probably MouseProtocolHandler can do something similar. |