add mouse support

Sorry for branching out from earlier commit. I could not `make` off c53882ad13:

```
Makefile:279: .deps/engine.Po: No such file or directory
```

I can only assume that you are in process of fixing the build process. If not and you need me to create a proper bug report, please let me know.