]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: wacom: Improve warning for tablets falling back to default resolution
authorJason Gerecke <jason.gerecke@wacom.com>
Tue, 30 Jul 2024 15:51:56 +0000 (08:51 -0700)
committerJiri Kosina <jkosina@suse.com>
Fri, 2 Aug 2024 11:02:46 +0000 (13:02 +0200)
commit3152301ff28872255461484b3dc831e2bf0f28db
treecac008be7eb764f0eaaba7df8cbd7b97e4613657
parent6b5faec9f564ea627c66064a4a6a5904fe5a07dd
HID: wacom: Improve warning for tablets falling back to default resolution

When we encounter a usage mapped to ABS_X or ABS_Y which has a calculated
resolution of 0, we want to warn the user of this before setting a default
value. The previous language used the word "usage" but then printed out the
value of a "code" instead. We can improve this.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/wacom_wac.c