mouse_info_t
mouse_info_t *mouse;
mouse = (mouse_info_t*) data;
int sysmouse_event(mouse_info_t *info);
static int sysmouse_evtopkt(struct sysmouse_state *sc, mouse_info_t *info,
static void smqueue(struct sysmouse_state *sc, mouse_info_t *info);
static void smget(struct sysmouse_state *sc, mouse_info_t *info);
mouse_info_t info;
smqueue(struct sysmouse_state *sc, mouse_info_t *info)
smget(struct sysmouse_state *sc, mouse_info_t *info)
sysmouse_updatestatus(mousestatus_t *status, mouse_info_t *info)
sysmouse_evtopkt(struct sysmouse_state *sc, mouse_info_t *info, u_char *buf)
sysmouse_event(mouse_info_t *info)
mouse_info_t buf[FIFO_SIZE];
#define CONS_MOUSECTL _IOWR('c', 10, mouse_info_t)