mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-16 12:04:08 +00:00
HID: uclogic: Add missing suffix for digitalizers
The Pen (0x02) application usage was changed to Digitalizer (0x01) in
commit f7d8e387d9
("HID: uclogic: Switch to Digitizer usage for
styluses"). However, a suffix was not selected for the new usage.
Handle the digitalizer application usage in uclogic_input_configured()
and add the required suffix.
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
8d9420ca9b
commit
0977fda058
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ static int uclogic_input_configured(struct hid_device *hdev,
|
|||
suffix = "Pad";
|
||||
break;
|
||||
case HID_DG_PEN:
|
||||
case HID_DG_DIGITIZER:
|
||||
suffix = "Pen";
|
||||
break;
|
||||
case HID_CP_CONSUMER_CONTROL:
|
||||
|
|
Loading…
Add table
Reference in a new issue