Re: 2.3.36-USB-keyboard: missing scancode

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Jan 06 2000 - 06:56:23 EST


On Thu, Jan 06, 2000 at 12:46:36PM +0100, Martin Costabel wrote:

> On a French Apple USB ISO keyboard, they are
>
> - "50 = grave poundsterling(?)", that would be "backslash bar" for a
> usb.map,
> same as scancode 49, so there should be a "43" instead of "0" at
> usb_kbd_keycode[50]

Is there a backslash bar key on your keyboard as well?

> - "100 = at numbersign". This key doesn't exist on Apple ANSI keyboards.
> In the USB->ADB map, this should be mapped to keycode 10, so if I
> understand
> correctly, because of usb_kbd_keycode[100]=86, there
> should be a keybdev_mac_codes[86]=10 (it is 0 right now.)

Ok, fixed. This is the '102nd key'.

> This will still not be quite perfect (and it's impossible to get it
> perfect, I think). The keys 100=at/numbersign and 53=less/greater will
> be interchanged compared to an Apple ADB keyboard (you can't interchange
> them for ISO USB keyboards without perturbing ANSI USB keyboards), but
> at least the keys produce non-void keycodes that can be redefined using
> a userspace keymap.

Ouch.

-- 
Vojtech Pavlik
SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:05 EST