Better Mouse Drivers For X11? 23
OvenMitt asks: "I've asked many people the same question and have yet to get an answer. I've RTFM over and over with no luck whatsoever. So I ask you guys: how can I get smooth mouse acceleration in XFree86 4.x?
I used to remedy the situation in XFree86 3.3.x by setting the SampleRate and Resolution modifiers in the XF86Config file to some ridiculous number, but this doesn't work at all in XFree86 4.x. I'd go back to XFree86 3.3.6, but I just got a Geforce2 and my thirst for Unreal Tournament forces me to bite the bullet. I use a Kensington Expert Mouse,which is actually a very large trackball, and sometimes I feel like I'm playing marble madness when trying to get my pointer from one side of the screen to the other. Are there any alternative mouse drivers for X in development? I'd give up my Kensington Expert Mouse, but it is the absolute greatest trackball I've ever used in my life and well worth the cash IMHO."
Re:Trackballs - try them out... (Score:1)
It's worth trying out a whole bunch of pointing devies before you buy. What might look like a real funky pointing solution might be a pile of pants in actual day to day use.
If the vendor doesn't want to let you try before you buy then go elsewhere. A dodgy mouse can cause you immense amounts of pain and distress.
Your solution is based entirely upon your own phisiology and medical history and not on what looks funky at the time.
As they say on Hill Street Blues... Let's be careful out there...
Ian
Re:give me WHEEL SUPPORT! (Score:3)
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Resolution" "1200"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
I've got one of those Microsoft Optical mice (the cheap one.) Very nice mouse at a good price ($20-$30.)
The keys are the correct protocol (not just PS/2), and adding the appropriate Buttons and ZAxisMapping lines.
Do be aware that the PS/2 extensions often don't work through KVM switchs (in mine, it works only if the KVM is switched to each computer as it boots up. If I do that, it works fine. If not, it only sees my mice as standard three button mice. It's not too hard to understand why.)
xset (Score:4)
Re:give me WHEEL SUPPORT! (Score:2)
Wheel support is application specific. Mozilla uses it natively, but other applications often require some ~/.Xdefault changes, or mapping the wheel events to other events.
For a good bit of background on all of these changes, check out -
I tried to make that a link, but /. didn't like it. How do I do that anyways? /. also seems to be introducing a space that I can't remove. You'll have to remove it manually.
Check out DGA in 4.0.2 (Score:2)
See http://www.linuxgames.com/news/index.php3/3072 [linuxgames.com]
Buttons? (Score:1)
Re:I made Expert Mouse work (Score:1)
Section "InputDevice"
Identifier "ExpertMouse"
Driver "mouse"
Option "Protocol" "ThinkingMouse"
Option "Device" "/dev/psm0"
Option "Buttons" "4"
EndSection
But the pointer didn't move properly, and none of the buttons worked. The system doesn't even recoginize ThinkingMousePS/2 as a protocol, and forget trying it with moused. More X lameness.
Anybody gotten this to work in XFree 4.x?
(jfb)
Trackballs (Score:1)
Penny & Giles are the folks who make the "black box" recorders for jet aircraft and the space shuttle. Needless to say their pointing devices are robust howerver you are likely to pay upwards of GBP 200 for an example of their fine engineering skill.
Hope this helps
Ian
give me WHEEL SUPPORT! (Score:1)
Re:give me WHEEL SUPPORT! (Score:1)
Re:I made Expert Mouse work (Score:2)
I have a Kensington TurboMouse working under Debian's XFree4 (not sure if that's the same as the ExpertMouse or not -- the TurboMouse is a Mac trackball).
Caveats: My system is a Mac clone, using ADB for the keyboard and trackball/mouse.
I have (only) three mouse buttons working, and I run xmodmap when I start X to swap two of them around -- my ~/.Xmodmap file contains pointer = 1 3 2; the equivalent command line would be xmodmap -e 'pointer = 1 3 2'.
Re:I made Expert Mouse work (Score:2)
ie.
Section "InputDevice"
Identifier "ExpertMouse"
Driver "mouse"
Option "Protocol" "ThinkingMousePS/2"
Option "Device" "/dev/psm0"
Option "Buttons" "4"
EndSection
More details at XFree86 [xfree86.org]
Cheers,
Toby Haynes
Re:Trackballs (Score:2)
Re:give me WHEEL SUPPORT! (Score:1)
put this:
Option "Protocol" "imps/2"
Option "ZAxisMapping" "4 5"
For some reason, I've also only had success with the mouse in general by also putting this in the secion:
Option "Device" "/dev/psaux"
instead of "/dev/mouse". Probably just a missing symlink, but I'm too lazy to make one.
-mdek.net [mdek.net]
I made Expert Mouse work (Score:2)
But then, I used the debian server config program, and SHOCK!!!! I got the upper left button to be mouse button 2, AND high resolution movement. YEARS I worked on that. YEARS, do you hear me? YEARS!!!
Here is my working mouse config from
Section "Pointer"
Protocol "ThinkingMousePS/2"
Device "/dev/mouse"
Emulate3Timeout 50
Resolution 200
Buttons 3
Emulate3Buttons
EndSection
Apparently the ThinkingMousePS/2 thing works on my box. I'm sure I must have tried that in the past. But maybe not? I ran XFree86 4 for awhile but I didn't ever try this exact config with it. Maybe it will work.
Under this configuration the the lower mouse buttons are left and right, and the upper left is mouse button 2. I'm not sure about the upper right mouse button. Configured as a four button mouse, that button may or may not work as button 4. YMMV.
I left in Emulate3Buttons becuase I already have "chording" habits. No need to torture myself.
Also, FWIW, I'm using the "old" S3 Virge server. Yeah, I'm a real miser.
Re:Buttons? (Score:1)
-mdek.net [mdek.net]
Re:I made Expert Mouse work (Score:1)
What's irritating is that if I hook the mouse up to the serial port and probe it with moused -d
(jfb)
Re:Trackballs (Score:1)
Re:Buttons? (Score:1)
If you want portable X client applications, you're stuck with that limitation, although you could always roll your own X extensions to support more than 5 buttons and be incompatible with the rest of the world. The current hack is pretty bad, but there really isn't much you can (or would want to) do.
Re:What about a Wheel? (Score:1)
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "imps/2"
Option "Device" "/dev/psaux"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
A semi solution.... (Score:1)
Basically.. over with my howto of LHL [linuxgames.com] I was able to play CS with: Mouse 1, 2, 3. Mousewheel up/down and the two thumb buttons - only constraints: the thumb buttons pressently act as one button, because of IMwheel, the guy that wrote IMWheel and JAM is also going to write XWheel which will support much more buttons. Also, its kinda hard to get working, still some bugs.. but if people start using it, then maybe he can get some help from other developers!
About hard and smooth accelation (Score:1)
Unfortunaly, there is no smooth acceleration in X. By smooth I mean that the actual cursor speed moves by some function of the actual mouse speed, which is NOT linear. E.g. cursorspeed = mousespeed ^ 1.25. This gives polynomial speed, which MS OS has had since I do not know when.
In DOS, the mouse drivers provided by Logitech and other had this feature, also known as "ballistic" acceleration (if you did not know, Ballistic is a polynomial movement). The is also used in Windows today.
When I first used X11, I too had problem using the mouse, because of the lack of ballistic movement, but you get used to it! I can see the problems with trackballs though, where you have a harder time moving the longer distances.
Fortunately Quake3Arena for Linux has its own Mouse acceleration/ballistics which makes the controls right. But if you try running windows q3a through Wine, you can experience this problem. Q3A for Window depends on windows to do the ballistics, but they are not provided in Wine, so the controls are very bad. You can turn, but you cannot turn fast because the acceleration is linear (even when accelerated).
Beg the XFree86 project for ballistic mouse acceleration! It's not really a driver problem.
Re:A semi solution.... (Score:1)
Wouldn't pressing them show up as a keycode in xev?