First commit, working code which probably needs some refactoring and commenting.
Merge branch 'master' of https://github.com/lilmike/allegro-mouse