NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37683 (ukbd: new useful mappings from usb to at keycodes)



anthony.mallet%useless-ficus.net@localhost said:
> that's a kind of hack from Xorg (and XFree). Those "extended keys" are
> defined in atKeynames.h (e.g. /usr/pkg/include/xorg/atKeynames.h)
> because PS/2 keyboards cannot generate such events. 

I see -- imo it makes sense to follow the examples.

> OpenBSD has a similar patch for their driver (their cvsweb seem to be
> down right now, I cannot find the rev number but it's in ukbd.c too,
> from M. Herrb)

So why does your patch differ from the OpenBSD scancodes?

> FreeBSD did also something similar in rev. 1.46 of ukbd.c,
> although I don't know where their mappings come from.

FreeBSD uses another mapping mechanism appearently which I didn't
look closer at (not just using the MSB as a marker for extended
scancodes).

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index