WikiPendium

(beta)

KEYTAB

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-17-154-171.us-east-2.compute.amazonaws.com

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]