Subject: Logitech 3 Button Mouse Don't Woik
To: None <macbsd-general@NetBSD.ORG>
From: Michael J. Oehler <firstname.lastname@example.org>
Date: 02/16/1995 14:06:29
Tres and others,
>the Logitech MouseMan 3 button mouse doesn't seem to work correctly under X11R6
The X keyboard mapping model looks like:
User presses key.
1. Key board generates keycode.
2. X server stores keycode in an XEvent.
3. Key Simulation is generated from keycode. See /usr/include/X11/keysymdef.h
4. Window interprets keysym.
Keycodes are server dependent. I know of no way to change them. But,
you can change the keycode to keysym mapping. That is, you can re-map
between steps 2 & 3 only. eg, press "a" and "z" is shown (not press
"a" and the keyboard generates a "z keycode signal".
I thought about mapping the "mouse 3" keycode to "Btn3Up" keysysm
hoping that it was an oversight (not likely). And then realized that
this is a hard problem. First problem, "Btn3Up" or any of the button
designations are events not keysyms. You won't find them in keysymdef.h!
I guess this is why "xmodmap" balked when I tried inter mixing keysysm's,
modifiers, & events (Could someone email the translation table that maps
the option keys to the mous 2 & 3 buttons. I'm real curious now.)
Last problem, there (probably) isn't a de-facto standard for 3 button mice
on the Mac. Thus, the Xserver specific extensions may be tricky.
Tres, you've got a tough problem and the blame is sharred by the X
model, the Mac, and the mouse. Not just one alone.
Trying to explain X in a page or less is tough. Now I know why there are