event.h 192 B

12345678910111213
  1. #define BSIZE 4000
  2. #define MOUSE 0
  3. #define KBD 1
  4. #define HOST 2
  5. #define HOST_BLOCKED 1
  6. #define KBD_BLOCKED 2
  7. typedef struct IOEvent {
  8. short key;
  9. short size;
  10. uchar data[BSIZE];
  11. } IOEvent;