mirror of https://github.com/axmolengine/axmol.git
Merge pull request #12539 from jianglong0156/winrtMouse
[ci skip]winrt not suppot mouse
This commit is contained in:
commit
246aa619aa
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue