summaryrefslogtreecommitdiff
path: root/components/drivers/input/touchscreen/SConscript
diff options
context:
space:
mode:
authorGUI <[email protected]>2026-08-14 12:41:00 +0800
committerGitHub <[email protected]>2026-08-14 12:41:00 +0800
commitc1418dbd2e3b9596b4082b111b80bd5f86e76028 (patch)
tree1b590fef35b5971a9d1f2b433cb4fd7035726c72 /components/drivers/input/touchscreen/SConscript
parent4cf70e176c10548d929c1e4b2124cdfb0899c384 (diff)
[DM/Input] Add ADC joystick, keyboard, and touchscreen drivers (#11679)
* [DM/Input] Add ADC joystick, keyboard, and touchscreen drivers Add polling input drivers for ADC-connected joysticks and resistor- ladder keys. Parse Linux-compatible device-tree bindings, acquire ADC channels through the IIO framework, and report absolute-axis and key events. Add an SPI touchscreen driver for ADS7843, ADS7845, ADS7846, ADS7873, TSC2046, and XPT2046-compatible controllers. Support pen interrupts, coordinate and pressure reporting, sample filtering, regulator control, power management, and common touchscreen properties. Add an I2C touchscreen driver for Goodix GT9xx controllers with multi-touch reporting, GPIO-based reset and address selection, interrupt handling with polling fallback, regulator control, panel configuration, and alternate-address recovery. Adapt the drivers to the RT-Thread device model and input framework, following the corresponding Linux input drivers and device-tree bindings. Signed-off-by: GuEe-GUI <[email protected]> * style: format code with clang-format * drivers: input: address review feedback * style: format input changes for current master --------- Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/input/touchscreen/SConscript')
-rw-r--r--components/drivers/input/touchscreen/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/drivers/input/touchscreen/SConscript b/components/drivers/input/touchscreen/SConscript
index 1465692553..6efa769291 100644
--- a/components/drivers/input/touchscreen/SConscript
+++ b/components/drivers/input/touchscreen/SConscript
@@ -10,6 +10,12 @@ CPPPATH = [cwd + '/../../include']
src = []
+if GetDepend(['RT_INPUT_TOUCHSCREEN_ADS7846']):
+ src += ['ts-ads7846.c']
+
+if GetDepend(['RT_INPUT_TOUCHSCREEN_GOODIX']):
+ src += ['ts-goodix.c']
+
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')