WikiPendium

(beta)

KEYTAB

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-143-248-25.us-east-2.compute.amazonaws.com
Ceci est une version archivée de KEYTAB à 2006-09-01 00:16:58.

KEYTAB structure


The KEYTAB structure is used internally to map IKBD scancodes to ASCII codes.

%%
typedef struct {
VOIDP normal;
VOIDP shift;
VOIDP caps;

VOIDP alt;
VOIDP altshift;
VOIDP altcaps;

VOIDP altgr;
} KEYTAB;

Format


normal, shift and caps are 128 byte tables, which directly map a scancode to an ascii code.

alt,altshift,altcaps and altgr, are NULL-terminated couples of values (i.e 2 bytes). The first byte is the scancode, mapped to the second byte which is the ASCII code.

Availability


normal, shift and caps are always available.

alt,altshift and altcaps are only available on TOS>=4.x, EmuTOS and MiNT.

altgr is only available on Milan TOS.
Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]