Subject: Re: sooo close
To: David Bushong <dbushong@cory.eecs.berkeley.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 09/23/1996 16:08:50
> 	Well, the MacPoint Pro 3-button mouse arrived... lo-and-behold 
> its default settings are MacX!!  Yea!!  Wait..  Unfortunately, they 
> assumed people like the MacX method of "non-option-left-arrow and 
> non-option-right-arrow"  D'oh!!  So on booting I get the usual weirdness:
> 
> Sep 23 13:21:43 timber-wolf /netbsd: adb: extended keyboard at 15

Whoa! I think that's your REAL keyboard. the keyboard at 2 is the
fake one (you do actually own an extended keyboard, no?).

I think this as I have an extended keyboard, and whenever I plug my
3-button mouse in, I loose the ability to hit the keyboard programmer's
switch and restart switch (plus w/ only the keyboard and a normal mouse
I have an extended keyboard at 2).

ADB has the ability to remap devices if there's a conflict. I bet there is
when there is the reak keyboard and the mouse's fake one, both at 2.
So the real keyboard gets remapped to 15. Except that the IIsi's hardware only
recognizes restart & debug from ADB address 2. :-(

> And as far as X (and xev) can tell, I'm just typing "left" and "right" 
> with those buttons..  Question:  Does anyone know if I could use xmodmap 
> (or something similar) to have it press button 2/button 3 by seeing which 
> device the left and right came from (left from #15.. that's a button 2)

My mouse (from Mouse Systems) came w/ a utility to re-map the key presses.
I bet if you boot with it, you can set it to do the option-left and option-right
thing. :-)

Take care,

Bill