Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4fc5f0d7 authored by Rani Khoury's avatar Rani Khoury Committed by Stephen Boyd
Browse files

Ultrasound: Palm Rejection Support for Protocol B TSC Drivers



The Ultrasound stylus can't work simultaneously with touch screen
driver, because Android input module can't handle events from multiple
input drivers. The solution proposed was to filter out touchscreen
driver events, this solution proved to be efficient for Touchscreen
drivers that work with multitouch protocol A, but for drivers working
with multitouch protocol B this solution was not enough to clear out
all touchscreen driver trace. This commit fixes this by 'free'ing all
mt slots allocated by the touchscreen driver before filtering out all
of touchscreen driver's events.

Change-Id: Icde80fc9e238a72dac30a46927a7863424b209a7

Signed-off-by: default avatarRani Khoury <rkhoury@codeaurora.org>
parent a7b66990
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment