SDL Wiki has links to documentation and tutorials for SDL2.0.

SDL_MouseMotionEvent (which is a struct within the SDL_Event union) can be found in the documentation.

Presumably it is used...