PS/2 mouse with interrupts

Hi, is there a PS/2 mouse library that only read data is there is a change on the clock line? I would like to put the mouse into stream mode and it sends coordinates only when the mouse is moved or buttons are pressed. Current libraries that I find either use remote mode or always enable data reporting, which defeats the purpose of putting the mouse into stream mode.