LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-27-2002, 02:21 PM   #1
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Angry how can I configure more then 3 buttons on a mouse


Hello,

I have a new Logitech MX500 Optical USB mouse,

I am running slack 8.1, I have configured the kernel with USB support.

The mouse has 8 buttons total,
2 standard buttons (left click, right click)
wheel ( scrolls by 5 lines)
up arrow button in front of the wheel and a down arrow button below the wheel which scroll the page by 1 line.

All the features so far work,

but I have three more buttons on the side I want to be able to configure. Any suggestions.

Michael
 
Old 12-28-2002, 03:12 AM   #2
urinal cake
LQ Newbie
 
Registered: Feb 2002
Posts: 27

Rep: Reputation: 15
I might be able to help a little

I have used both Kensington and MS optical USB mice in several distros.

Here's the relevant portion of my XF86Config:

CODE - CODE - CODE - CODE - CODE - CODE - CODE - CODE - CODE

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse[1]"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"

EndSection

END CODE - END CODE - END CODE - END CODE - END CODE SE

Notice the "Buttons" and "ZAxisMapping" items. Now when X starts, my wheel doesn't work right, and my 4th and 5th buttons still don't do anything, so I run the following in a script everytime KDE starts:

xmodmap -e "pointer = 1 2 3 6 7 4 5"

This fixes the mapping of the mouse keys so everything works as expected.

Now, your mouse might be different or have more/less buttons than mine, so, in X open a terminal and run "xev"

place your cursor in the little window that appears and without moving your mouse at all, click each button in turn, including wheelup, wheeldown and wheel click. In the terminal, for each click, you will see how X sees each button on your mouse, as simply "buttonx", where x is one through whatever. If your have more than 7 buttons, including wheelup and wheeldown, edit your XF86Config accordingly. Don't forget the pressing the scrollwheel down counts as one button. Once you know how X sees each button, you can play with the mapping until it works right. If X doesn't see all your buttons, I don't have a clue what to do. Try a different protocol, maybe?

I hope this helps.

Last edited by urinal cake; 12-28-2002 at 03:15 AM.
 
Old 12-28-2002, 03:49 AM   #3
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
This is as good a place to start as any:

http://suiling.princeton.edu/users/l...itec-mouse.txt


Notice the different button assignments?


John
 
  


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
How to configure a buttons on my laptop to support volume control? hkl8324 Debian 2 06-27-2005 08:36 PM
mouse buttons 6 and 7 tardigrade Linux - Software 8 12-05-2004 10:25 PM
ATI Remote 2.6.5 kernel How to configure buttons? Zero-0-Effect Linux - General 1 06-13-2004 09:56 AM
Customizing mouse buttons ebakunin Linux - General 1 05-29-2002 01:21 AM
..But my mouse does have 5 buttons!!! Grimnir Linux - General 12 02-18-2002 07:15 AM

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

All times are GMT -5. The time now is 05:47 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