]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: MT - add INPUT_MT_TOTAL_FORCE flags
authorAngela Czubak <aczubak@google.com>
Mon, 18 Aug 2025 23:08:50 +0000 (23:08 +0000)
committerBenjamin Tissoires <bentiss@kernel.org>
Mon, 15 Sep 2025 12:32:55 +0000 (14:32 +0200)
commit4e584ac737884ef0fd80f6836b917972fad86b17
treec4aff0c1ab2107df7a21b3dbf8dba8d9ebbe0cb8
parenta77efca3aa85e382b52b587ca9976c0f8e11d49c
Input: MT - add INPUT_MT_TOTAL_FORCE flags

Add a flag to generate ABS_PRESSURE as sum of ABS_MT_PRESSURE across
all slots.
This flag should be set if one knows a device reports true force and would
like to report total force to the userspace.

Signed-off-by: Angela Czubak <aczubak@google.com>
Co-developed-by: Jonathan Denose <jdenose@google.com>
Signed-off-by: Jonathan Denose <jdenose@google.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/input/input-mt.c
include/linux/input/mt.h