1

My laptop has two sets of mouse buttons, one above and one below the touchpad. In Windows I've remapped the upper one to at as a middle button, and I'd like a way to do this in Ubuntu.

I installed xev, but whichever button I press I get the same output:

state 0x10, button 3, same_screen YES
state 0x410, button 3, same_screen YES

... so it seems that Ubuntu can't tell the difference between the two buttons? I'm not sure how I should proceed with this now, does anyone have any suggestions?

1 Answer 1

1

Building on this answer: https://askubuntu.com/a/492745

Use xinput to view the list of input devices and try to identify your laptop's builtin "mouse" device. With that ID, use xinput test with that device ID, and press each of the mouse buttons, watching the button ID that comes up for each one. If the all of the buttons have unique IDs, then you can reassign each one independently with xinput set-button-map. However, if the buttons on the top and bottom resolve to the same button ID, then you won't be able to map them independently.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .