touch: Ignore tool events if another is active
On the Drallion stylus when the errse button is pressed the digitizer will send an BTN_TOOL_RUBBER event before a BTN_TOUCH event and then a BTN_TOOL_PEN. This sequence should be considered an POINTER_TYPE_ERASER and not a POINTER_TYPE_PEN. Bug: b:139781900 Change-Id: I268ef0d72e25fa374832ed529a4b54559bc0f805 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076530Reviewed-by:Sean O'Brien <seobrien@chromium.org> Commit-Queue: Mathew King <mathewk@chromium.org> Cr-Commit-Position: refs/heads/master@{#746660}
Showing
Please register or sign in to comment