linux-loongson/include/linux/input
Javier Carrasco ea4d331050 Input: touch-overlay - add touchscreen overlay handling
Some touch devices provide mechanical overlays with different objects
like buttons or clipped touchscreen surfaces.

In order to support these objects, add a series of helper functions
to the input subsystem to transform them into overlay objects via
device tree nodes.

These overlay objects consume the raw touch events and report the
expected input events depending on the object properties.

Note that the current implementation allows for multiple definitions
of touchscreen areas (regions that report touch events), but only the
first one will be used for the touchscreen device that the consumers
typically provide.
Should the need for multiple touchscreen areas arise, additional
touchscreen devices would be required at the consumer side.
There is no limitation in the number of touch areas defined as buttons.

Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20241016-feature-ts_virtobj_patch-v11-2-b292a1bbb0a1@wolfvision.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2025-07-27 01:41:21 -07:00
..
ad714x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
adp5589.h Input: adp5589-keys - remove setup/teardown hooks for gpios 2020-11-18 23:18:27 -08:00
adxl34x.h
as5011.h Input: as5011 - convert to GPIO descriptor 2023-12-13 21:26:13 -08:00
cma3000.h
elan-i2c-ids.h treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_8.RULE 2022-06-10 14:51:35 +02:00
kxtj9.h
lm8333.h
matrix_keypad.h Input: matrix_keypad - remove support for platform data 2024-09-05 21:43:42 -07:00
mt.h Input: mt - annotate struct input_mt with __counted_by 2023-09-30 09:24:17 -07:00
samsung-keypad.h
sh_keysc.h
sparse-keymap.h
touch-overlay.h Input: touch-overlay - add touchscreen overlay handling 2025-07-27 01:41:21 -07:00
touchscreen.h
tps6507x-ts.h
vivaldi-fmap.h Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00