2020-11-20 04:20:43 +11:00
|
|
|
# Copyright (c) 2020 The ZMK Contributors
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2020-12-09 14:06:56 +11:00
|
|
|
zephyr_library_named(zmk__drivers__kscan)
|
|
|
|
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
|
2020-11-20 04:20:43 +11:00
|
|
|
|
2021-07-31 16:23:33 +10:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_KSCAN_GPIO_DRIVER debounce.c)
|
2022-04-26 07:48:33 +10:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_KSCAN_GPIO_MATRIX kscan_gpio_matrix.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_KSCAN_GPIO_DIRECT kscan_gpio_direct.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_KSCAN_GPIO_DEMUX kscan_gpio_demux.c)
|
2020-12-09 14:06:56 +11:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_KSCAN_MOCK_DRIVER kscan_mock.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_KSCAN_COMPOSITE_DRIVER kscan_composite.c)
|