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

Scrollwheel input actions are not intercepted unlike other actions

Open Pxtl opened this issue 3 months ago • 4 comments

Ouput from sudo pkill -f input-remapper && input-remapper-gtk -d while problem is being reproduced: https://pastebin.com/zTBS1esZ

That is the full output. Relevant snippet is at the bottom of this post.

The issue:

I have button 6 on my mouse (called "btn_BACK" by remapper) plus scrollwheel bound to volume control adjustment.

And it works! But it also causes the page to scroll.

Other remaps swallow the action, but for some reason not the scrollwheel - it keeps going right through.

Snippet from log

17:08:48.924524 1328733 service DEBUG logger.py:102: Writing <InputConfig (1, 278) BTN_BACK, None, 96bd0732a76cbabc3de82a71497924f6, at 0x7332a522e110> to "input-remapper Logitech G502 X forwarded"
17:08:48.924639 1328733 service DEBUG logger.py:102: Writing <InputConfig (2, 8) REL_WHEEL, -1, 96bd0732a76cbabc3de82a71497924f6, at 0x7332a522e190> to "input-remapper Logitech G502 X forwarded"
17:08:48.924729 1328733 service DEBUG logger.py:102: Writing <InputConfig (2, 11) REL_WHEEL_HI_RES, -1, 96bd0732a76cbabc3de82a71497924f6, at 0x7332a522e1d0> to "input-remapper Logitech G502 X forwarded"
17:08:48.924820 1328733 service DEBUG combination_handler.py:138: Sending Combination (InputConfig BTN_BACK + InputConfig REL_WHEEL + InputConfig REL_WHEEL_HI_RES) to sub-handler
17:08:48.924938 1328733 service DEBUG logger.py:102: Writing (1, 114, 1) to "input-remapper keyboard"
17:08:49.113371 1328733 service DEBUG rel_to_btn_handler.py:93: Sending InputEvent for (2, 8, 0) REL_WHEEL to sub_handler
17:08:49.113510 1328733 service DEBUG combination_handler.py:138: Sending Combination (InputConfig BTN_BACK + InputConfig REL_WHEEL + InputConfig REL_WHEEL_HI_RES) to sub-handler
17:08:49.113600 1328733 service DEBUG logger.py:102: Writing (1, 114, 0) to "input-remapper keyboard"
17:08:49.113731 1328733 service DEBUG rel_to_btn_handler.py:93: Sending InputEvent for (2, 11, 0) REL_WHEEL_HI_RES to sub_handler
17:08:49.360350 1328733 service DEBUG combination_handler.py:165: Forwarding release for Combination (InputConfig BTN_BACK + InputConfig REL_WHEEL + InputConfig REL_WHEEL_HI_RES)

Pxtl avatar Sep 24 '25 21:09 Pxtl

I see there are a number of similar issues posted but I do not know if they were resolved in a way that will also work for you. Give these a read through and see if they apply to the scroll issue you are seeing:

https://github.com/sezanzeb/input-remapper/issues/607

https://github.com/sezanzeb/input-remapper/issues/411

https://github.com/sezanzeb/input-remapper/issues/970

This next link does not directly address this issue but I found it interesting: https://github.com/sezanzeb/input-remapper/issues/800

Let us know if one of these help and which one.

TherinS avatar Oct 07 '25 01:10 TherinS

If the suggested links worked for you, please mark this as resolved. If not, feel free to post what has been tried and what hasn't worked.

TherinS avatar Nov 27 '25 22:11 TherinS

Sorry I missed this notification I'll give those a shot.

Pxtl avatar Nov 28 '25 15:11 Pxtl

#607 worked for me. Was a bit tricky since I had to go into "advanced" to make side+hires, and I'm confused why there's also a hires on my left/right but that doesn't seem to matter, but it works great, thanks.

Pxtl avatar Nov 30 '25 01:11 Pxtl