Add support for mouse movement.