How do you ignore the palm of the hand when doing multitouch drawing?

天涯浪子 提交于 2019-12-12 01:28:56

问题


Several multitouch drawing applications have implemented features that prevent interference when a user rests their palm on the screen while drawing.

How do they filter out touch events from the palm of the hand, but allow the correct input from the drawing finger or stylus?


回答1:


Ignore any multi-touch inputs that are close to each other, only taking the data from the single point (the finger).




回答2:


Take the top y component from the group of touches.



来源:https://stackoverflow.com/questions/4302515/how-do-you-ignore-the-palm-of-the-hand-when-doing-multitouch-drawing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!