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.) | |
9 | */ | |
10 | ||
11 | #define INCLUDED_ASTOSC | |
12 | ||
13 | struct astosc { | |
14 | unsigned char | |
15 | scancode, /* Scan code for this function */ | |
16 | shiftstate; /* Shift state for this function */ | |
17 | char *name; /* Name of this function */ | |
18 | }; | |
19 | ||
20 | int ascii_to_index(); /* Function to feed InitControl() */ |