jfedor2 / hid-remapper

USB input remapping dongle
Other
1.12k stars 134 forks source link

Weird issue with zowie ec1-c #117

Closed chalermla24 closed 8 months ago

chalermla24 commented 8 months ago

Holding any normal mouse button (left, right, forward, backward, middle) while moving the mouse result in the button being "let go" and resume pressing again. Does not happen with other mice that I own afaik. Using dual pico version.

https://github.com/jfedor2/hid-remapper/assets/14847342/41519589-90f0-4d5f-abb3-630572cb0e9a

jfedor2 commented 8 months ago

I suspect some report descriptor shenanigans.

Could you try to dump the HID report descriptor using Wireshark and maybe some USB traffic? Disconnect the mouse, start the capture, then plug the mouse in (directly into your computer, not through HID Remapper), do some of the the things that trigger the weirdness and post the pcap file here?

chalermla24 commented 8 months ago

Is this right? ec1c.zip

jfedor2 commented 8 months ago

Yes, that's it!

The descriptors actually seem fine, but I noticed that the mouse sometimes sends zero-length reports, which could cause this behavior. I thought we were already ignoring those, but I checked and it turns out we only ignore them in the single Pico version.

Can you try this test firmware build and see if it makes a difference?

ignore_empty_reports.zip

chalermla24 commented 8 months ago

Yup. Working perfectly now. Thank you