Re: [PATCH 3/4] Fix hover in Android (Gingerbread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 7, 2011 at 2:04 PM, Jason Gerecke <killertofu@xxxxxxxxx> wrote:
> As of Gingerbread, Android does not pay attention to if the pen
> is in contact with the screen, or merely in proximity. Since the
> Xorg Wacom driver does not make use of MT pen events, we simply
> do not emit MT data while hovering.

I'd rather not change the behavior of the upstream driver because that
would break other things.  It would be better to just fix the Android
framework code for the device you are shipping.

What is it about Gingerbread that causes problems with hover?  Is it
the fact it isn't checking BTN_TOUCH or the fact that it doesn't care
when ABS_MT_PRESSURE == 0?  (Is BTN_TOUCH still relevant to the MT
protocol or only in single-touch?)

I have already added hover support to Android.  It will appear in an
upcoming release, along with support for the MT slots protocol "B".

Sending a non-zero ABS_MT_DISTANCE is also a good robust hint for
hover.  Zero pressure can be ambiguous sometimes.

Who did you talk to at Google about this?

Jeff.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux