I have a Logitech PS/2 wheelmouse, I can't seem to use the wheel in X.
I run Slackware 7.1, kernel 2.2.16 and xfree86 3.3.6.
The wheelbutton is supposed to be supported as buttons 4 and 5. In xmms
they can be used to control the volume and in a Gnome terminal you can
use it to scroll.
I have tried
------------
buttons 5
ZAxisMapping 4 5
------------
with and without the 'ZAxis...' line, in the 'Pointer' section of
XF86Config. 'xev' shows no events for either case when I turn the wheel.
Can anyone help.
TIA,
Francisco
You missed one part. Diff of my XF86Config before/after I bought the small
kind of USB-slash-PS/2 Logitech wheel mouse:
213c214
< Protocol "PS/2"
---
> Protocol "IMPS/2"
214a216,217
> Buttons 5
> ZAxisMapping 4 5
For this and all other X/scrollmouse info, see
http://www.inria.fr/koala/colas/mouse-wheel-scroll/
/Jorgen
--
// Jorgen Grahn <jgrahn@ ''Battle ye not with monsters,
\X/ algonet.se> lest ye become a monster''
> Hi,
>
> I have a Logitech PS/2 wheelmouse, I can't seem to use the wheel in X.
>
>
Howdy. Try using "imwheel". In the highly unlikely event that there is no
Slackware tarball of it, then grab it from www.freshmeat.net. Pay
particular attention to the part in the documentation where it refers to
the XF86Config file. It recommends:
--------------------
Buttons 3
ZAxisMapping 4 5
--------------------
Have fun
Mick
> I run Slackware 7.1, kernel 2.2.16 and xfree86 3.3.6.
>
> The wheelbutton is supposed to be supported as buttons 4 and 5. In xmms
> they can be used to control the volume and in a Gnome terminal you can
> use it to scroll.
>
> I have tried
>
> ------------
> buttons 5
> ZAxisMapping 4 5
> ------------
>
Section "Pointer"
Protocol "IMPS/2"
Device "/dev/psaux"
Buttons 5
ZAxisMapping 4 5
EndSection
You need the new Mozilla for the wheel mouse to work.
For Emacs...
;; Intellimouse support
(global-set-key [(mouse-4)] 'scroll-down)
(global-set-key [(mouse-5)] 'scroll-up)
thanks for the help. but sending the bug report to mandrake does not fix my
problem I am having now. What should I do to resove this problem???
What is caml anyway?
> For Emacs...
>
> ;; Intellimouse support
> (global-set-key [(mouse-4)] 'scroll-down)
> (global-set-key [(mouse-5)] 'scroll-up)
That created a painful situation the details of which I forgot,
so I pasted together this slob job[?]
(setq jidanni-scroll-distance 4)
(defun jidanni-scroll-up ()
(interactive)
(scroll-up jidanni-scroll-distance))
(defun jidanni-scroll-down ()
(interactive)
(scroll-down jidanni-scroll-distance))
(global-set-key [(mouse-4)] 'jidanni-scroll-up)
(global-set-key [(mouse-5)] 'jidanni-scroll-down)
OK, muchos gracias to you Mr. Mark Flacy, you got my 'TrackMan Marble+' rolling
[though it just will never be as smooth as in win98: do a quick jerk backwards
during a forwards roll, tisk.] Say, where's the win98 Logitech feature of
'smart mouse' or whatever, where it automatically puts the pointer over the
'yes' or default button of choices?
In Netscape 4.75 I discovered that when the above solution stops working,
go to the panel of icons and iconify netscape. Then click again on the same
icon
to bring it back. The wheel then works again...