Commit 52781990 authored by José Expósito's avatar José Expósito Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk



[ Upstream commit 3405a4be ]

Commit f7d8e387 ("HID: uclogic: Switch to Digitizer usage for
styluses") changed the usage used in UCLogic from "Pen" to "Digitizer".

However, the IS_INPUT_APPLICATION() macro evaluates to false for
HID_DG_DIGITIZER causing issues with the XP-Pen Star G640 tablet.

Add the HID_QUIRK_HIDINPUT_FORCE quirk to bypass the
IS_INPUT_APPLICATION() check.

Reported-by: default avatarTorge Matthies <openglfreak@googlemail.com>
Reported-by: default avatarAlexander Zhang <alex@alexyzhang.dev>
Tested-by: default avatarAlexander Zhang <alex@alexyzhang.dev>
Change-Id: Ie08835706d75b43c9d8b04b81c501f960c60c380
Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 7c3a523c)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent fa335f5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment