开发者

Is there a way to distinguish mice in JavaScript?

I am wanting to hook up several mice - each one used for different types of input. Is there a way in JavaScript to distinguish between each mouse?

I know that JS may not seem like the right language for this, but I want to use o开发者_运维技巧ne mouse for web navigation, and the other for Google-earth navigation. Because the Google-API is already using JS, I figured I try to keep all the code together.


This is not possible with JavaScript. The JS would have to have low-level access to the clients machine to make this type of distinction. Obviously, this would be a huge security risk.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜