trigger event on mouse move

Is there such a thing in Cocos? I’m trying to find a way to trigger a callback function every time the mouse moves, but really can’t find a way. Looking into the library I noticed the WinProc function doesn’t care about mouse move if the mouse button isn’t pressed (EGLView.cpp/WinProc). Before I do any hacking on my own, is there a way to do it that I just didn’t find?

Thanks in advance