]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: input: calculate resolution for pressure
authorAngela Czubak <aczubak@google.com>
Mon, 18 Aug 2025 23:08:48 +0000 (23:08 +0000)
committerBenjamin Tissoires <bentiss@kernel.org>
Mon, 15 Sep 2025 12:32:54 +0000 (14:32 +0200)
commit7657bf0b7cfb63ded95a6fe4e1cf106cf386b6cc
tree616f8009df856f7d471b420703b74080986d6668
parent344ff358495706abc7aac1e0c59a5bb16b350307
HID: input: calculate resolution for pressure

Assume that if the pressure is given in newtons it should be normalized
to grams. If the pressure has no unit do not calculate resolution.

Signed-off-by: Angela Czubak <aczubak@google.com>
Co-developed-by: Jonathan Denose <jdenose@google.com>
Signed-off-by: Jonathan Denose <jdenose@google.com>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-input.c