Mouse property to say what button is being clicked

It follows the convention that already was in the
file 0 for left, 1 for middle and 2 for right.
It also changes to -1 when mouseUp.
Check type uses the static values
fix typo
Merge pull request #167 from wKLV/dev

Mouse now knows what button is clicked