LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2008, 10:58 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Mouse Scroll Wheel, no click, left/right tilt problem.


my xorg section:
Code:
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Device" "/dev/psaux"
        Option      "Protocol" "ImPS/2"
        Option  "Buttons"        "5"
        Option      "ZAxisMapping" "4 5"
#       Option      "Emulate3Buttons" "true"
I commented Emulate3Buttons out, but the only way I can get the middle click functionality is to press my right and left mouse buttons.
My scroll wheel also has a left and right scroll, which will be useful for various compiz effects, but when I test them in xev, it tells me that they are the same as the left and right buttons on my keyboard. (keys 100 and 102)
It detects my mouse left and right click as button 1 and button 3, respectively, and likewise scroll up and scroll down as 4 and 5.
How can I make it know to map button 2 as middle click, button 6 as scroll left, and button 7 as scroll right?
 
Old 03-29-2008, 12:43 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
For the scroll wheel, you have
Code:
Option      "Protocol" "ImPS/2"
rather than
Code:
Option      "Protocol" "IMPS/2"
 
Old 03-29-2008, 09:35 AM   #3
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
No, that didn't seem to do anything,
 
Old 03-29-2008, 10:09 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Comment -> Option "Buttons" "5"
and keep the Emulate line commented.

You must restart the X server before changes to /etc/X11/xorg.conf will take effect.

Here's what I use:
Code:
"Section "InputDevice"

# Identifier and driver
# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:
#    Option     "Protocol"      "Auto"
# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
# which is usually a symbolic link to the real device.
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
#    Option "Protocol"  "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
#    Option "BaudRate"          "9600"
#    Option "SampleRate"        "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
# ChordMiddle is an option for some 3-button Logitech mice
#    Option "ChordMiddle"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "ZAxisMapping" "4 5"
# The mouse device.  The device is normally set to /dev/mouse,
    Option         "Device" "/dev/mouse"
#   Option "Device"      "/dev/psaux"
EndSection
That allows my scroll wheel to paste.

Sorry but I've never been interested in all those other buttons/functions, so I've no clue about them.
 
Old 03-29-2008, 11:02 AM   #5
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Rep: Reputation: 31
Quote:
Originally Posted by Bruce Hill View Post
For the scroll wheel, you have
Code:
Option      "Protocol" "ImPS/2"
rather than
Code:
Option      "Protocol" "IMPS/2"
I thought for scroll wheel
Option "ZAxisMapping" "4 5" is used.
 
Old 03-29-2008, 01:31 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
If you want to use a lot of buttons, I find it’s easiest to ditch the X mouse driver for the X evdev driver. There are guides on doing this around the internet.
 
  


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 scroll wheel problem Lotharster Linux - Newbie 7 12-25-2005 09:54 AM
Mouse with Tilt Wheel robe Linux - Hardware 22 12-21-2005 02:46 PM
Wireless mouse scroll wheel works, but left and right click doesn't? jdub7786 Slackware 1 09-23-2004 03:54 AM
Left click is scroll ?? Reefcrazed Linux - Laptop and Netbook 2 08-09-2004 05:56 PM
Scroll wheel mouse problem 3m3r5on Linux - Hardware 3 10-17-2003 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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