2023-01-31 16:58:22 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_property(ALLOW_EMPTY TRUE)
|
|
|
|
|
2023-11-11 19:41:29 +01:00
|
|
|
# zephyr-keep-sorted-start
|
2024-02-02 04:59:08 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_ADC_KEYS input_adc_keys.c)
|
2023-12-16 22:13:57 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_ANALOG_AXIS input_analog_axis.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_ANALOG_AXIS_SETTINGS input_analog_axis_settings.c)
|
2023-07-16 19:29:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_CAP1203 input_cap1203.c)
|
2024-01-30 18:26:09 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_CF1133 input_cf1133.c)
|
2024-04-04 00:30:00 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_CHSC6X input_chsc6x.c)
|
2023-07-18 08:39:10 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_CST816S input_cst816s.c)
|
2023-09-19 19:57:44 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_ESP32_TOUCH_SENSOR input_esp32_touch_sensor.c)
|
2023-03-22 19:37:23 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_FT5336 input_ft5336.c)
|
2023-11-07 00:31:44 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_GPIO_KBD_MATRIX input_gpio_kbd_matrix.c)
|
2023-01-31 16:58:22 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_GPIO_KEYS input_gpio_keys.c)
|
2021-05-02 00:11:14 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_GPIO_QDEC input_gpio_qdec.c)
|
2023-07-07 19:03:54 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_GT911 input_gt911.c)
|
2023-11-08 17:25:52 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_ITE_IT8XXX2_KBD input_ite_it8xxx2_kbd.c)
|
2023-10-24 16:45:33 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_KBD_MATRIX input_kbd_matrix.c)
|
2023-05-11 16:29:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_NPCX_KBD input_npcx_kbd.c)
|
2024-02-25 19:41:46 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_PAT912X input_pat912x.c)
|
2024-04-19 23:30:31 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_PAW32XX input_paw32xx.c)
|
2024-02-25 21:13:06 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_PINNACLE input_pinnacle.c)
|
2024-03-03 17:53:30 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_PMW3610 input_pmw3610.c)
|
2023-08-11 16:03:03 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_STMPE811 input_stmpe811.c)
|
2023-11-14 12:05:12 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_XEC_KBD input_xec_kbd.c)
|
2023-06-22 20:45:01 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INPUT_XPT2046 input_xpt2046.c)
|
2023-11-11 19:41:29 +01:00
|
|
|
# zephyr-keep-sorted-stop
|
2023-07-05 10:00:26 +02:00
|
|
|
|
|
|
|
if (CONFIG_INPUT_SDL_TOUCH)
|
|
|
|
zephyr_library_sources(input_sdl_touch.c)
|
|
|
|
if (CONFIG_NATIVE_APPLICATION)
|
|
|
|
zephyr_library_sources(input_sdl_touch_bottom.c)
|
|
|
|
else()
|
|
|
|
target_sources(native_simulator INTERFACE input_sdl_touch_bottom.c)
|
|
|
|
endif()
|
|
|
|
endif()
|
2023-12-10 19:30:50 +01:00
|
|
|
|
|
|
|
if(CONFIG_NATIVE_LINUX_EVDEV)
|
|
|
|
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL Linux)
|
|
|
|
zephyr_library_sources(linux_evdev.c)
|
|
|
|
if (CONFIG_NATIVE_APPLICATION)
|
|
|
|
zephyr_library_sources(linux_evdev_bottom.c)
|
|
|
|
else()
|
|
|
|
target_sources(native_simulator INTERFACE linux_evdev_bottom.c)
|
|
|
|
endif()
|
|
|
|
else()
|
|
|
|
message(FATAL_ERROR "CONFIG_NATIVE_LINUX_EVDEV only available on Linux")
|
|
|
|
endif()
|
|
|
|
endif()
|