LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Microsfot Intellimouse - Side Buttons? (https://www.linuxquestions.org/questions/linux-hardware-18/microsfot-intellimouse-side-buttons-21303/)

Quakeboy02 11-13-2006 04:36 PM

Found it meself!

I removed the mouse stuff from .xession and changed my XF86Config-4 file mouse configuration to the followingi:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

No longer running imwheel. I spent some time with the program xf86cfg messing with different mouse options interactively to find this one that worked. What part the Emulate3Buttons plays I don't know. At this point, it works and I'm not motivated to mess with it further.

Quake-on!

marcoshz 11-14-2006 01:49 PM

against imWheel
 
Thanx, Iīll try that ASAP. I donīt like imwheel myself, so I rather use a method that doesn't include it.

Ok, maybe Iīm the worst newbie ever, but whenever I start Imwheel I loose some important kde functionality like scrolling on the desktop or the volume control.

The only thing I miss is that when imwheel is NOT running, I canīt scroll "a page at the time", like I use to do on Windows.

Oh well, seems like I still have a LOT to learn from linux :-p

Yoshimitsuspeed 11-20-2006 11:41 PM

I haven't read the whole thread but I have spent a bit of time trying to find an easy way to program my mouse and keyboard. I am suprised with all the impressive programs for linux there is no simple program simalar to intellipoint so we can easilly configure our mice and keyboards.

I will read the thread and try to get my trackball working but It would be sweet to have easy GUI controll over it.

paas0004 04-11-2007 06:22 AM

Thanks so much for the great thread!! I finally got it working perfectly. Here's my hardware setup:

Mouse: Microsoft IntelliMouse Optical 1.1A
Distro: OpenSuSE 10.2
X: XOrg 7.2.0 RC 2 (whatever is the default with OpenSuSE 10.2)
imwheel: imwheel 1.0.0pre12 (compiled from source)

xev revealed that my side mouse buttons were 8 and 9, not 6 and 7 like everyone else's. I had to tinker with it for quite a while to get it working. So here's what I ended up with:


/etc/X11/xorg.conf:
Code:

Section "InputDevice"
        Identifier  "Mouse[1]"
        Driver      "mouse"
        Option            "Buttons" "7"
        Option            "Device" "/dev/input/mice"
        Option            "Name" "Microsoft IntelliMouse Optical"
        Option            "Protocol" "explorerps/2"
        Option            "Vendor" "Sysp"
        Option            "ZAxisMapping" "4 5"
EndSection


/etc/X11/imwheel/imwheelrc: (appended to end of file)
Code:

".*"
None, Left, Alt_L|Left
None, Right, Alt_L|Right


/home/[username]/.bashrc:
Code:

xmodmap -e "pointer = 1 2 3 8 9 4 5"
imwheel -k -b 0089


Works great! I know there's a way to script the last two commands for all users instead of in my own .bashrc, I just didn't bother to look it up. :)


EDIT: Wrapped the file quotes with CODE tag.

davidguygc 05-13-2007 06:27 PM

Hi, I have my mouse working (thanks to this thread), but I need to know how to get the side buttons to work while I'm running beryl.

Here is the output from xev when I'm not running it for the "forward" button

Code:

LeaveNotify event, serial 32, synthetic NO, window 0x1400001,
    root 0x1a5, subw 0x1400002, time 2277481673, (40,20), root:(44,815),
    mode NotifyGrab, detail NotifyVirtual, same_screen YES,
    focus NO, state 16
EnterNotify event, serial 32, synthetic NO, window 0x1400001,
    root 0x1a5, subw 0x1400002, time 2277482633, (40,20), root:(44,815),
    mode NotifyUngrab, detail NotifyVirtual, same_screen YES,
    focus NO, state 16

KeymapNotify event, serial 32, synthetic NO, window 0x0,
    keys:  4294967205 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
          0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0

and while I'm running beryl:

Code:

LeaveNotify event, serial 34, synthetic NO, window 0x1400001,
    root 0x1a5, subw 0x1400002, time 2277566464, (43,30), root:(47,825),
    mode NotifyGrab, detail NotifyVirtual, same_screen YES,
    focus NO, state 16

FocusIn event, serial 34, synthetic NO, window 0x1400001,
    mode NotifyGrab, detail NotifyPointer

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  4294967205 0  0  0  0  0  0  0  1  0  0  0  0  0  0  0
          0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0

FocusOut event, serial 34, synthetic NO, window 0x1400001,
    mode NotifyUngrab, detail NotifyPointer

EnterNotify event, serial 34, synthetic NO, window 0x1400001,
    root 0x1a5, subw 0x1400002, time 2277568376, (43,30), root:(47,825),
    mode NotifyUngrab, detail NotifyVirtual, same_screen YES,
    focus NO, state 16

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  4294967205 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
          0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0

Thanks for taking the time to look.
David


All times are GMT -5. The time now is 05:03 AM.