Added ioctl to clear mouse buffer,