On Thu, Oct 20, 2011 at 4:36 PM, Ping Cheng <pingli...@gmail.com> wrote: > On Thu, Oct 20, 2011 at 8:03 AM, Chris Bagwell <ch...@cnpbagwell.com> wrote: >> On Wed, Oct 19, 2011 at 9:10 PM, Chris Bagwell <ch...@cnpbagwell.com> wrote: >>> On Wed, Oct 19, 2011 at 7:01 PM, Ping Cheng <pingli...@gmail.com> wrote: >>>> So, we can not rely on pressure to set button 1 click for touch >>>> screen devices. >>> >>> This code shouldn't be needed... or its a bug elsewhere if it is needed. >>> >>> wcmSingleFingerPress() does the below logic but a little better in >>> that it tries not to do a button press during 2 finger gestures >>> (although it has a few known bugs). >>> >>> My touchscreen is doing the left click correctly without looking at > > Does your touchscreen support more than one contact/finger?
Yes, it does. > >>> pressure. Maybe your seeing something related to pen proximity >>> masking that I didn't consider since my hw doesn't have pen support. > > No, my touchscreen doesn't support pen. It's a single touch device. > wcmSingleFingerPress checks two contacts... Yes, but I do not think it should matter in this case. We always reserve 2 channels for touch devices regardless if needed. The logic checks a touch as 1st finger touching and not 2nd finger touching. And release is checked as not(1st finger or 2nd finger touching). So that should work for even 1 touch devices. Chris > > Ping > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel