Commit | Line | Data |
---|---|---|
d1e5dec9 GM |
1 | /* |
2 | * This defines the structure used to translate: | |
3 | * | |
4 | * ascii name ==> (scancode, shiftstate) | |
5 | * | |
6 | * (Actually, map3270 does "ascii name ==> index", and | |
7 | * termin does "index ==> (scancode, shiftstate)". Both | |
8 | * mappings use this structure.) | |
992de934 GM |
9 | * |
10 | * @(#)astosc.h 1.4 (Berkeley) %G% | |
d1e5dec9 GM |
11 | */ |
12 | ||
13 | #define INCLUDED_ASTOSC | |
14 | ||
15 | struct astosc { | |
16 | unsigned char | |
17 | scancode, /* Scan code for this function */ | |
18 | shiftstate; /* Shift state for this function */ | |
addfa672 | 19 | enum ctlrfcn function; /* Internal function identifier */ |
d1e5dec9 GM |
20 | char *name; /* Name of this function */ |
21 | }; | |
22 | ||
23 | int ascii_to_index(); /* Function to feed InitControl() */ | |
42335b64 GM |
24 | |
25 | extern struct astosc astosc[256]; |