hid-remapper icon indicating copy to clipboard operation
hid-remapper copied to clipboard

Horizontal scroll always to the right

Open wkelton opened this issue 3 months ago • 5 comments

I have an Feather RP2040 with the latest version of remapper_feather.uf2 flashed. When I use a horizontal scroll wheel on a mouse, the scroll action is always to the right (which I assume is positive). I have tried 2 different mice and 2 different computers with the same behavior. When I connect the mouse directly to the computer, the scroll behaves correctly.

In the Monitor tab for the configuration website, I see that "0x000c0238 H scroll" does change between -1 and 1 depending on which direction I move the horizontal scroll wheel.

I have tested this with no mappings configured to confirm that this behavior is not due to some mapping I may have inadvertently configured.

wkelton avatar Sep 28 '25 04:09 wkelton

Hmm I think I've seen someone else say that recently. What mice are you using?

jfedor2 avatar Sep 29 '25 14:09 jfedor2

Tested with Logitech MX Master 3S and Nulea M512 (a trackball mouse with a horizontal scroll wheel).

wkelton avatar Sep 29 '25 14:09 wkelton

OK, I can reproduce this with my mouse.

jfedor2 avatar Sep 30 '25 13:09 jfedor2

I can see the issue. I will think on how to best fix it, for now you can use this as a workaround. Create an expression like this and create a mapping with this expression as input and "H Scroll" as output:

0x000c0238 input_state
Image Image

jfedor2 avatar Sep 30 '25 17:09 jfedor2

Thanks for the quick response and workaround!

Confirmed the workaround makes horizontal scroll work as expected.

wkelton avatar Sep 30 '25 17:09 wkelton