LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2004, 07:46 AM   #1
JamieKitson
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 0
X Doesn't Seem To Hear My Extra Mouse Buttons


Hi,

I know this sort of problem is common, so I'll try to be as brief as possible.

I have set the following in the mouse section of my XF86Config-4:

Device - /dev/psaux
Protocol - ExplorerPS/2
Buttons - 7
ZAxisMapping - 6 7

On start using:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"

But x doesn't seem to "hear" my 2 extra buttons. I've used imwheel to print out characters when mouse buttons are pressed, which works for buttons 1 - 5, but 6 and 7 never work.

Can anyone suggest anything?

Thanks, Jamie
 
Old 12-04-2004, 08:34 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

What does your ~/.imwheelrc look like?

Dave
 
Old 12-04-2004, 09:38 AM   #3
JamieKitson
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
".*"
#None, Up, Alt_R|Left
#None, Down, Alt_R|Right
None, Up, R
None, Down, l

So that I can see what it's doing. When I say it works for buttons 1 - 5 I mean that it'll print out "R" and "l" for buttons 1 - 5 when I start imwheel with, say, -b "13"

Last edited by JamieKitson; 12-04-2004 at 09:39 AM.
 
Old 12-04-2004, 12:35 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
That sounds a bit messed up.

If you start imwheel with -b "13" then only buttons 1 and 3 will be affected by imwheel, and so only those should even possibly print I or R.

What sort of mouse is it?

Dave
 
Old 12-07-2004, 07:09 AM   #5
JamieKitson
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ilikejam
If you start imwheel with -b "13" then only buttons 1 and 3 will be affected by imwheel, and so only those should even possibly print I or R.
Well yeah, when I say buttons 1-5 work ok I mean they work when I run imwheel with them as the buttons I want it to process.

The mouse is a cheapo 5 button wireless optical jobbie. It works with windows and I have had it working with Linux before. I just can't rememebr how.
 
Old 12-07-2004, 09:38 AM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Have a look at 'xev'. It shows what X is receiving from button presses, mouse movement etc. It may give you some clues.

Dave
 
Old 12-08-2004, 03:51 AM   #7
JamieKitson
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, I did have a look at this, but I suppose what I really wanted to know was: if x is not recieving the button presses what can I do about it. Maybe I need to use a different device or something? Anyway, we're just moving, so I can;t really try anything atm, but I'll keep at it

Thanks, Jamie
 
  


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
Programming extra mouse buttons? dive Slackware 1 07-23-2005 12:00 AM
Getting extra mouse buttons to work Valhalla Linux - Hardware 4 12-04-2004 03:46 PM
extra mouse buttons in Mozilla? zoinksbob Slackware 2 07-06-2004 02:19 AM
Getting extra mouse buttons to work rhraz Linux - Hardware 12 02-20-2004 02:04 PM
Can you use the extra buttons on a Microsoft mouse? Tyir Linux - Newbie 1 10-10-2003 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:18 AM.

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