Add support for mouse input