diff --git a/cocos/scripting/js-bindings/script/jsb_boot.js b/cocos/scripting/js-bindings/script/jsb_boot.js index 7f0b17fd8e..c776b1a183 100644 --- a/cocos/scripting/js-bindings/script/jsb_boot.js +++ b/cocos/scripting/js-bindings/script/jsb_boot.js @@ -1481,6 +1481,12 @@ cc._initSys = function(config, CONFIG_KEY){ // desktop capabilities["keyboard"] = true; capabilities["mouse"] = true; + // winrt can't suppot mouse in current version + if (platform === locSys.WINRT) + { + capabilities["touches"] = true; + capabilities["mouse"] = false; + } } /**