Re: /etc/X11/Xmodmap re-revisited
On Thu, Mar 2, 2000, Geert Uytterhoeven <firstname.lastname@example.org> wrote:
>> I'll see with the maintainer if this can be changed to simply use PC
>> keycodes all the time on all archs _except_ when we are running on a
>> PowerMac (and this will be checked at runtime and not compile time).
>No!!! Been there, done that (for Amiga keyboards). Keycode conversion is
>I can dig up this 1995-discussion on linux-m68k if you're interested.
The keycode conversion is already there and too many things rely on macs
having ADB keycodes already.
Also, the current USB driver is bogus because it simply won't compile if
you are not on a i386 or you don't have the CONFIG_MAC_KEYBOARD defined.
The ADB keycode conversion is currently always done when it's defined.
So we need to have this fixed in a way or another. My idea is basically
to extend the mecanism used for x86 to all archs instead of just failing
compile, and leave the exceptional conversion to ADB keycodes for
powermacs, but instead of making it a compile time option, make it a
_runtime_ option so that the common CHRP/PREP/PMAC kernel won't try to do
ADB keycodes on non-pmac machines.