From: Geert U. <ge...@li...> - 2000-09-07 20:05:33
|
On Thu, 7 Sep 2000, Michel [iso-8859-1] Dänzer wrote: > Franz Sirl wrote: > > I'm not quite sure about the following: > > > > - does Apus have it's own keycodes? > > Yes, I think so. At least we need our own keymaps. > > > If not, do you currently use ADB or AT keycodes? > > - what's the keycode situation in XF3/4 for Apus? > > AFAIK it isn't very clean with either, the best bet is still to disable Xkb. And Franz also wrote: | My xf4 work I did for the linux keycodes support fixes that. It's a | configurable option now (well, in 4.0.2 I hope). XkbModel "macintosh_old" | or XkbKeycodes "macintosh" for ADB keycodes/MEDIUMRAW mode, everything else ^^^^^^^^^^^^^^^ | is Linux keycodes/RAW mode, or, if it can open the sysctl ^^^^^^^^^^^^^^^^^^^^^^^^^^ | /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes, it tries to | autodetect. This will make PReP and CHRP users with PS2 keyboards happy I | hope :-). APUS uses Amiga keyboards. There are lots of other machines who use their own keymaps as well. If I only consider Linux/m68k, we have Atari, Sun-3, Apollo, HP9000/[34]00, ... I can't speak about XF4, but with XF3 all of these work out-of-the-box if you disable Xkb (using kernel keycodes). If you enable Xkb, it also works, but then you need the special X keymaps (for those that are available) (no surprise). And I'd say `everything else works fine if you use _MEDIUMRAW_ instead of RAW'. > > If you want to keep the current state of affairs I can see in the > > linuxppc_2_3 tree, there's not much point in using machid.c, AFAICS. On the > > other hand, if you plan to integrate your input drivers into 2.4, it makes > > perfect sense. > > I think it would be nice, but to be honest I don't fully understand what would > be involved. I hope this is _not_ about translating whatever-keyboard-type-keycodes to PC-style keycodes? We (ehrm, I) already opened that can of worms somewhere in 1995, and closed it ASAP. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |