craftyjs.github.com

Crafty.mouseButtons

Object of mouseButton names and the corresponding button ID. In all mouseEvents we add the e.mouseButton property with a value normalized to match e.button of modern webkit

LEFT: 0,
MIDDLE: 1,
RIGHT: 2