LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08: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, 09:34 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

What does your ~/.imwheelrc look like?

Dave
 
Old 12-04-2004, 10: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 10:39 AM.
 
Old 12-04-2004, 01:35 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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, 08: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, 10:38 AM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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, 04: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

All times are GMT -5. The time now is 03:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration