diff --git a/cocos/scripting/js-bindings/script/jsb_cocos2d.js b/cocos/scripting/js-bindings/script/jsb_cocos2d.js index f97e120f39..f3ede487b4 100644 --- a/cocos/scripting/js-bindings/script/jsb_cocos2d.js +++ b/cocos/scripting/js-bindings/script/jsb_cocos2d.js @@ -246,8 +246,8 @@ cc.EventMouse.UP = 2; cc.EventMouse.MOVE = 3; cc.EventMouse.SCROLL = 4; cc.EventMouse.BUTTON_LEFT = 0; -cc.EventMouse.BUTTON_RIGHT = 2; -cc.EventMouse.BUTTON_MIDDLE = 1; +cc.EventMouse.BUTTON_RIGHT = 1; +cc.EventMouse.BUTTON_MIDDLE = 2; cc.EventMouse.BUTTON_4 = 3; cc.EventMouse.BUTTON_5 = 4; cc.EventMouse.BUTTON_6 = 5;