Right-left buttons differentiation

Left | Right
-----|--------
mousedown | rightdown
mouseup   |  rightup
mouseupoutside   |  rightupoutside
click   |  rightclick
__isDown   |  __isRightDown

Names can easily be changed from the code.
Seems like these checks can be turnary operators at the declaration above, instead of check and reassigned each loop.