Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-09-2022, 03:20 PM
|
#1
|
Member
Registered: Feb 2012
Location: Vancouver Island, Canada
Distribution: Slackware15 and current
Posts: 86
Rep: 
|
5 button mouse
I'm running Slackware15 on an MSI model: MS-16R5
I'm using a
HP 5-button Optical Comfort Mouse Mice (BR376AA)
lsusb shows
Bus 001 Device 002: ID 0461:4de3 Primax Electronics, Ltd HP 5-Button Optical Comfort Mouse
the mouse works fine
what I found by trial and error is
the two extra side buttons do a page forward and page back on firefox. seamonkey, chrome (alt left arrow) , alt right arrow )
the wheel works fine on many applications like the above plus kate , leafpad ...
the button on the wheel (push the wheel sideways ) doesn't seem to do anything.
how do I change what the extra buttons do ?
on windows hp has something called HP Accessory Center (HPAC) that I think does this.
|
|
|
03-12-2022, 06:56 AM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by waynelloydsmith
I'm running Slackware15 on an MSI model: MS-16R5
I'm using a
HP 5-button Optical Comfort Mouse Mice (BR376AA)
lsusb shows
Bus 001 Device 002: ID 0461:4de3 Primax Electronics, Ltd HP 5-Button Optical Comfort Mouse
the mouse works fine
what I found by trial and error is
the two extra side buttons do a page forward and page back on firefox. seamonkey, chrome (alt left arrow) , alt right arrow )
the wheel works fine on many applications like the above plus kate , leafpad ...
the button on the wheel (push the wheel sideways ) doesn't seem to do anything.
how do I change what the extra buttons do ?
on windows hp has something called HP Accessory Center (HPAC) that I think does this.
|
- enter 'xinput' to see what id=<id> your pointer has
- enter 'xinput list <id> and show us. Please use CODE tags for that (see my signature)
|
|
|
03-12-2022, 01:02 PM
|
#3
|
Member
Registered: Feb 2012
Location: Vancouver Island, Canada
Distribution: Slackware15 and current
Posts: 86
Original Poster
Rep: 
|
bash-5.1$ xinput list 11
Primax USB OPTICAL MOUSE id=11 [slave pointer (2)]
Reporting 7 classes:
Class originated from: 11. Type: XIButtonClass
Buttons supported: 9
Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra"
Button state:
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 120.000000
flags: 0x0
Class originated from: 11. Type: XIScrollClass
Scroll info for Valuator 3
type: 1 (vertical)
increment: 120.000000
flags: 0x0
bash-5.1$
|
|
|
03-13-2022, 01:23 AM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Code:
bash-5.1$ xinput list 11
Primax USB OPTICAL MOUSE id=11 [slave pointer (2)]
Reporting 7 classes:
Class originated from: 11. Type: XIButtonClass
Buttons supported: 9
Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra"
Button state:
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 11. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 120.000000
flags: 0x0
Class originated from: 11. Type: XIScrollClass
Scroll info for Valuator 3
type: 1 (vertical)
increment: 120.000000
flags: 0x0
This is how the whole thing looks in CODE tags. Makes a difference, wouldn't you say? So please take my (and others!) request to heart.
So, 9 buttons are available. You should be able to do with them whatever you want - but things start getting confusing now:
A web search for linux change extra mouse button behavior or some such should get you more suggestions.
|
|
|
03-13-2022, 02:43 PM
|
#5
|
Member
Registered: Feb 2012
Location: Vancouver Island, Canada
Distribution: Slackware15 and current
Posts: 86
Original Poster
Rep: 
|
Thanks
so its really a 9 button mouse
|
|
|
All times are GMT -5. The time now is 07:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|