Changes between Initial Version and Version 1 of Ticket #18888, comment 9


Ignore:
Timestamp:
Apr 21, 2024, 2:40:28 PM (4 weeks ago)
Author:
pulkomandy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18888, comment 9

    initial v1  
    2020
    2121- Create two MouseProtocolHandler, one for each report, and allow MouseProtocolHandler to handle mouses without axes,
    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.