Go to file
Christopher N. Hesse 00888b7eee inputflinger: disable touch input while using a stylus
Android 5.0 cannot form multitouch events from multiple input
devices. So it is not possible to report one touchpoint from the
stylus position and, at the same time, another touchpoint from a
finger touch. Instead, when a new input device starts up the currently
active input is cancelled. This is highly undesirable while writing
with the pen.

The easiest solution is to ignore non-stylus touch events while the
stylus is within range (hovering) of the touchscreen. For example,
N-trig digitizers implement this in hardware. But wacom digitizers do
report pen data simultaneously with touch data. This patch disables
(non-stylus) touch input within 50ms of stylus data. On my Galaxy
Note this is necessary to make stylus input usable.

Original commit by vbraun:
b9cb296130

Change-Id: I97f26369826e96c97461c8ae188f1c64dec1b4d3
2015-10-17 13:56:31 -07:00
build native: Restore VM memory overrides 2015-10-12 23:36:09 -07:00
cmds dumpstate: add logcat -b all -S 2015-08-11 14:56:49 -07:00
data/etc Add XML for pro audio feature 2015-08-28 19:53:59 -07:00
include Add GESTURE_SENSOR input source 2015-10-17 13:53:53 -07:00
libs Support forcing all screenshots into a CPU consumer 2015-10-16 14:45:55 -07:00
opengl libEGL: allow devices to workaround Google bug 10194508 2015-10-16 14:45:10 -07:00
services inputflinger: disable touch input while using a stylus 2015-10-17 13:56:31 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00