mouse button mapping

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
eben
Level 1
Level 1
Posts: 5
Joined: Tue May 26, 2015 7:20 pm

mouse button mapping

Post by eben » Tue Mar 07, 2017 11:55 pm

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
Level 1
Level 1
Posts: 5
Joined: Tue May 26, 2015 7:20 pm

Re: mouse button mapping

Post by eben » Wed Mar 08, 2017 2:13 am

[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.

Post Reply

Return to “Hardware Support”