Re: [AD] linux keyboard mapping?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Some keys are different. Extended codes first send a byte (can't remember
> if it is 0x00 or 0x0E, I think it's 0x00) and then another one (eg the
> arrow keys). PrintScreen doesn't send a make/break code, but a stream
> of 5 bytes. So it's possible to have more than 128 keys if the hardware
> does some nasty things, but not in the general case (or software that
> was coded for current keyboards won't work anymore (though there are not
> many programs still using int 9 directly apart from OSes I guess)).

IMHO, this is a dangerous assumption that may break on other architectures.
For the time being it may be save, though.

Evert



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/