Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Keytbl ] #include <tos.h> KEYTAB *Keytbl( void *unshift, void *shift, void *capslock ); <unshift> is the normal key translation table. (-1L = keep old table). <shift> is the key translation table used with the shift key. (-1L = keep old table). <capslock> is the key translation table used with the caps lock. (-1L = keep old table). Function sets up new translation tables between Scan Codes and the ASCII Character Set. It returns a pointer to a KEYTAB structure, which consists of the three key translation table pointers. Each key translation table is a 128 element character array. Each element consists of the ASCII equivalent for the corresponding scan code. For example, unshift[0]=0, unshift[1]=0x1b, unshift[2]='1', ... (Use 0 when no ASCII value exists.) XBIOS Opcode 16 See also XBIOS Console.