You are not logged in.

#1 2025-04-27 22:49:41

Dontpanic_x
Member
Registered: 2018-10-27
Posts: 27

Dock station - Middle mouse scrolling behaviour

The issue is that when Dock my Thinkpad to docking station everything works normally except my mouse scrolling wheel. It does not scroll down, instead it scrolls right.

xev -event button

shows that scrolling down (on the hardware) is currently set to

button 7

which is also the scroll to the right. Scrolling down should be

button 5

determined by the track-pad able to scroll down which shows

button 5

.

How can I reprogram the mouse scrolling down to

button 5

instead of

button 7

Its a Logitec G502x mouse (not sure if that matters)

Last edited by Dontpanic_x (2025-04-27 23:58:28)

Offline

#2 2025-04-28 06:52:57

seth
Member
Registered: 2012-09-03
Posts: 64,036

Offline

#3 2025-04-28 08:06:07

Dontpanic_x
Member
Registered: 2018-10-27
Posts: 27

Re: Dock station - Middle mouse scrolling behaviour

Thank you for the Reply Seth. I did get the device name and the following code did change the mouse button to 5 instead of 7:

xinput set-button-map Logitech\ G502\ X 1 2 3 4 7 6 5 8 9 10 11 12 13 14 15 16 17 18 19 20

Which did reassigned the mouse button as intended, but unfortunately it did not allow for the scrolling down function to work. Not sure what else to try at this point as i attempted to install piper and solaar which did not solve the issue.

Any guesses or anything else I maybe able to try is much appreciated.

Offline

#4 2025-04-28 14:25:08

seth
Member
Registered: 2012-09-03
Posts: 64,036

Re: Dock station - Middle mouse scrolling behaviour

reassigned the mouse button as intended, but unfortunately it did not allow for the scrolling down function to work

Is this actually X11 or some wayland compositor?

Offline

#5 2025-05-08 08:29:35

Dontpanic_x
Member
Registered: 2018-10-27
Posts: 27

Re: Dock station - Middle mouse scrolling behaviour

Sorry for late reply - X11

Offline

#6 2025-05-08 13:18:04

seth
Member
Registered: 2012-09-03
Posts: 64,036

Re: Dock station - Middle mouse scrolling behaviour

Which did reassigned the mouse button as intended, but unfortunately it did not allow for the scrolling down function to work.

Ok, please elaborate on that situation - xev now reports the expected buttons (4/5) but the client (which specifically) keeps scrolling sideways?
Assuming it's some gtk client, does eg

GDK_CORE_DEVICE_EVENTS=1 gtk3-demo

change anything?

Offline

#7 2025-05-18 23:41:49

Dontpanic_x
Member
Registered: 2018-10-27
Posts: 27

Re: Dock station - Middle mouse scrolling behaviour

yeah, even though I changed the mouse wheel action to show the same as when I use the touch pad (I.E. touch pad to scroll down shows as button 7) the mouse wheel even though its assigned as button 7 still doesnt scroll down.

Not sure if thats what you meant by elaborate but thats pretty much the jist of the problem

Offline

#8 2025-05-19 05:58:14

seth
Member
Registered: 2012-09-03
Posts: 64,036

Re: Dock station - Middle mouse scrolling behaviour

the mouse wheel even though its assigned as button 7

What?
Button 7 is horizontal scroll (to the right), that's wrong.
The vertical wheel are buttons 4 + 5 (5 being downwards)

Offline

Board footer

Powered by FluxBB