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
> pressure.  Maybe your seeing something related to pen proximity
> masking that I didn't consider since my hw doesn't have pen support.
>
> My touchscreen happens to be in the mail to have a dead zone fixed...
> man, IRTL8191SU have bad luck with those things... so I can't really
> test any ideas right now unless its on my Bamboo.
>

Since your working in this area, let me repost a related open issue.
Maybe you'll have time to work on it.

If you use MyPaint application with the touchscreen you've got
(without pressure that is), it won't work.

The reason is because that application ignores left click and instead
relies only on pressure values.  Or at the least, its setting ink to
fully transparent when pressure is reported as zero.  Since MyPaint
works with mice, I think it must only do this when a pressure axis is
reported.

So I think we need some code in our init phase that only declares
pressure axis when maxZ != 0.

Chris

------------------------------------------------------------------------------
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@Ciosco 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

Reply via email to