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
>> pressure.  Maybe your seeing something related to pen proximity
>> masking that I didn't consider since my hw doesn't have pen support.

I'll test it again on my system.

> 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.

This requires an interface change. We will need to only report 2
valuators, x and y. That might be fine with newer X server and Gtk
versions. But, I guess we'll need to deal with backward compatibility
issue. I am not sure how we want to handle it.
.
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

Reply via email to