* The following is the structure which defines what a 3270 keystroke
enum type
{ undefined
= 0, illegal
, character
, function
, aid
} type
;
unsigned char code
; /* AID value; 3270 display code; function id */
} hit
[4]; /* plain, shifted, alted, shiftalted */
extern struct hits hits
[];
* The following are the various functions which the keyboard can ask
* the controller to perform.
* Note that this file (the following entries) are scanned by mkhit.c,
* and that the format must remain more-or-less consistent
* (#define\tFCN_name\t[\t]*TOKEN)
#define FCN_NULL 131 /* Illegal sequence */
#define FCN_VERTICAL_BAR 132
#define FCN_CAPS_LOCK 134
#define FCN_MAKE_SHIFT 135
#define FCN_BREAK_SHIFT 142
#define FCN_BREAK_ALT 143
#define FCN_MASTER_RESET 186
#define FCN_WORDBACKTAB 191
#define FCN_MAKE_CTRL 194