I am trying to forward the input from Logitech USB keyboard and Logitech USB mouse using this library. The keyboard is working aside from the media keys.
The mouse is sending an 8 byte input report and I don't understand entirely which byte is representing what.
Example:
0x2 always the same
0x0 buttons
0x0 always 0x0
0xFF x axes
0xF y axes, but also changes when x is negative
0x0 changes when y is negative
0x0 scrolling wheel x
0x0 maybe scrolling wheel y but with my mouse I cannot scroll horizontally
I've seen only examples with 5 byte input reports. I updated the report descriptor with the input device's descriptor but still not working. I think the issue is still the device descriptor but I don't have the knowledge to debug it. The descriptor is 177 bytes whereas in the example code it's much smaller. I don't know if there is a limitation.
I am trying to forward the input from Logitech USB keyboard and Logitech USB mouse using this library. The keyboard is working aside from the media keys.
The mouse is sending an 8 byte input report and I don't understand entirely which byte is representing what.
Example: 0x2 always the same
0x0 buttons 0x0 always 0x0 0xFF x axes
0xF y axes, but also changes when x is negative 0x0 changes when y is negative 0x0 scrolling wheel x 0x0 maybe scrolling wheel y but with my mouse I cannot scroll horizontally
I've seen only examples with 5 byte input reports. I updated the report descriptor with the input device's descriptor but still not working. I think the issue is still the device descriptor but I don't have the knowledge to debug it. The descriptor is 177 bytes whereas in the example code it's much smaller. I don't know if there is a limitation.