mouse code
Merge https://github.com/A412/calhacks