ref: 332f070e5a51e5fcc1f2f17f15f67aa98a01b5f4
dir: /sys/src/cmd/vt/event.h/
#define BSIZE 4000
#define MOUSE 0
#define KBD 1
#define HOST 2
#define HOST_BLOCKED 1
#define KBD_BLOCKED 2
typedef struct IOEvent {
short key;
short size;
uchar data[BSIZE];
} IOEvent;