discard any pending events in a mouse queue
#include <sys/mouse.h> int mouse_flush( struct _mouse_ctrl *mc );
The mouse_flush() function discards any pending mouse events in the mouse queue associated with mc.
The argument mc is the value returned by a previous mouse_open() call.
errno, mouse_close(), mouse_open(), mouse_param(), mouse_read()