LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 03-09-2022, 03:20 PM   #1
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Rep: Reputation: Disabled
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.
 
Old 03-12-2022, 06:56 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by waynelloydsmith View Post
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)
 
Old 03-12-2022, 01:02 PM   #3
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Original Poster
Rep: Reputation: Disabled
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$
 
Old 03-13-2022, 01:23 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 03-13-2022, 02:43 PM   #5
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Original Poster
Rep: Reputation: Disabled
Thanks
so its really a 9 button mouse
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse not working on Damn Small Linux | Mouse: Omega Optical Mouse (16c Gaming Mouse) AndyDeveloper Linux - Hardware 3 04-09-2017 01:32 PM
about xwindow. mouse left button and right button chuangsheng Programming 4 06-13-2009 12:34 AM
how should i enable the middle button of 3-button mouse ?? b0nd Slackware 1 07-17-2006 02:46 AM
3 button mouse (scroll button) Spyiish Slackware 24 07-23-2005 01:37 PM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration