From patchwork Wed Feb 17 17:22:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0L3QsNCx?= X-Patchwork-Id: 12091967 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC457C4332D for ; Wed, 17 Feb 2021 17:33:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B274064E45 for ; Wed, 17 Feb 2021 17:33:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234465AbhBQRdA (ORCPT ); Wed, 17 Feb 2021 12:33:00 -0500 Received: from [139.28.40.42] ([139.28.40.42]:46870 "EHLO tarta.nabijaczleweli.xyz" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S234146AbhBQRcs (ORCPT ); Wed, 17 Feb 2021 12:32:48 -0500 Received: from tarta.nabijaczleweli.xyz (unknown [192.168.1.250]) by tarta.nabijaczleweli.xyz (Postfix) with ESMTPSA id 99A0336011D; Wed, 17 Feb 2021 18:22:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nabijaczleweli.xyz; s=202006; t=1613582544; bh=5WfzNG7IUI6eMlFOH38CcAl/0dszPETSZdLlIuk5Rf0=; h=Date:From:Cc:Subject:From; b=EWwMB5uk1waX6FJpQS+zXMzmuuaOllUv+K08VRedvR+UAnI8SzGAcbIC1jIuedhcT BEWxQhiwxT5aEEGLyk4fAf9+wN0l2B/0xh/3LKXe47ioMu1nwwjOjvwHxtbrk+yFX7 aUrcDWfVbYCl/1YAL2KZRvBv1bgLZXirUCvdvk+HebY24omLgFoCqcERgsbGsG1SMt EpN6Z05TxAOwz7r/5EMfFdAGeJXfATLJNSeZaRrhdseJpFjMsB+qqU5m6j3N336Ul0 x/hGQVNl98hzYSGwWx+j972MpmK2HHvNBEuXq0y4csGj5FS8vimYGeaDdm//9ZDGzV 11hRQso7gNiIA== Date: Wed, 17 Feb 2021 18:22:23 +0100 From: =?utf-8?b?0L3QsNCx?= Cc: Benjamin Tissoires , Peter Hutterer , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Stylus-on-touchscreen device support Message-ID: MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20210205 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This patchset adds support for stylus-on-touchscreen devices as found on the OneMix 3 Pro and Dell Inspiron 15 7000 2-in-1 (7591), among others; with it, they properly behave like a drawing tablet. Patches 2 and 4 funxionally depend on patch 1. Patch 4 needs patch 3 to apply. The output of this patchset and the need for a kernel, rather than userspace, patch was previously discussed here: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/558#note_792834 Ahelenia ZiemiaƄska (4): HID: multitouch: require Finger field to mark Win8 reports as MT HID: multitouch: set Stylus suffix for Stylus-application devices, too HID: input: replace outdated HID numbers+comments with macros HID: input: work around Win8 stylus-on-touchscreen reporting drivers/hid/hid-input.c | 47 +++++++++++++++++++++++++++++++++--- drivers/hid/hid-multitouch.c | 18 ++++++++------ 2 files changed, 55 insertions(+), 10 deletions(-)