+typedef struct// instat\r
+{\r
+ boolean IN_Started;\r
+ boolean CapsLock;\r
+ ScanCode CurCode,LastCode;\r
+} in_status_t;\r
+\r
+typedef struct// inconfig\r
+{\r
+ in_status_t instat;\r
+//\r
+// configuration variables\r
+//\r
+ boolean Keyboard[NumCodes],\r
+ JoysPresent[MaxJoys],\r
+ MousePresent,\r
+ JoyPadPresent;\r
+\r
+// Global variables\r
+ boolean Paused;\r
+ char LastASCII;\r
+ ScanCode LastScan;\r
+\r
+ KeyboardDef KbdDefs[MaxKbds];\r
+ JoystickDef JoyDefs[MaxJoys];\r
+} in_info_t;\r
+\r