如何捕捉触摸板输入 [英] How to capture touch pad input

查看:173
本文介绍了如何捕捉触摸板输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我到处寻找如何为笔记本电脑捕获触摸板输入,但似乎无法找到Chrome扩展程序/ JavaScript的任何内容。

问题:如何获取触摸板上的手指数量(未点击,正好朝下,可能会像使用鼠标一样移动),其对应的x,y坐标以及相应的向上事件一台笔记本电脑?



澄清:
$ b


  • 对检测触摸屏事件不感兴趣。只需轻触触控板
    事件即可。

  • 假设触控板位于3岁或更新的笔记本电脑上。
$ b $为了开发这样的扩展,你需要编写

nofollow> chrome本地客户端 Windows Touch Input 以实现目标。


I've looked everywhere for how to capture touch pad input for laptops but I can't seem to find anything for Chrome extensions/JavaScript.

Question: how can I capture the number of fingers down (not clicked, just down and potentially moving as you would with a mouse), their corresponding x,y coordinates, and their corresponding up events, for a touch pad on a laptop?

Clarifications:

  • I'm not interested in detecting touch screen events. Just touch pad events.
  • Can assume the touch pad lives on 3 year old or newer lap tops.

解决方案

to develop such kind of extension, you need to write chrome native client with Windows Touch Input to make it happen.

这篇关于如何捕捉触摸板输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆