mouse button mapping

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
eben

mouse button mapping

Post by eben »

ok so I have a mouse with a button 10, not really a 10 button mouse, but that's how linux sees the button. I checked with "xev" then I installed "xbindkeys" and created a file called...$HOME/.xbindkeysrc next I added this code in the file (per directioins of xbindkeys)...

"'mouseclick 1'"
b:10

than ran xbindkeys....didn't work.

Does anybody know of mouse button mapping tool that actually work within Mint 18.Mate?????
How do people set up a mouse with more than 3 buttons????
eben

Re: mouse button mapping

Post by eben »

[SOLVED] what a pain in the a#@ to find that,,,

So I ran the command...

xinput

this gave a list of the input device, below is the one I wanted ...

UC-LOGIC Tablet WP1209U id=11

so than I ran...

xinput get-button-map

that gave a list of the buttons for that input device...

1 2 3 4 5 6 7 8 9 10 11 12 13 14

I wanted to change button 10 to act like a left mouse click which is button one so I changed 10 to 1 by running this...

xinput set-button-map 1 2 3 4 5 6 7 8 9 1 11 12 13 14

button 10 is now button 1

hope this help others, cause it took me hours to find this.
crunchyhead

Re: mouse button mapping

Post by crunchyhead »

I am so glad you posted this...
I was going nuts looking for a solution to almost exactly the same problem!
I got nowhere with xbindkeys but this did the trick!
Thanks. :D
Locked

Return to “Hardware Support”