Skip to content

Commit

Permalink
feat(input): Cirque Pinnacle trackpad driver
Browse files Browse the repository at this point in the history
Add the initial input driver for the Cirque Pinnacle ASIC found
in Cirque GlidePoint trackpads.
  • Loading branch information
crides authored and petejohanson committed Jan 30, 2024
1 parent 985b5ef commit 6d0ff61
Show file tree
Hide file tree
Showing 10 changed files with 532 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/module/drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ add_subdirectory_ifdef(CONFIG_GPIO gpio)
add_subdirectory_ifdef(CONFIG_KSCAN kscan)
add_subdirectory_ifdef(CONFIG_SENSOR sensor)
add_subdirectory_ifdef(CONFIG_DISPLAY display)
add_subdirectory_ifdef(CONFIG_INPUT input)
1 change: 1 addition & 0 deletions app/module/drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ rsource "gpio/Kconfig"
rsource "kscan/Kconfig"
rsource "sensor/Kconfig"
rsource "display/Kconfig"
rsource "input/Kconfig"
6 changes: 6 additions & 0 deletions app/module/drivers/input/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT

zephyr_library_amend()

zephyr_library_sources_ifdef(CONFIG_INPUT_PINNACLE input_pinnacle.c)
12 changes: 12 additions & 0 deletions app/module/drivers/input/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT

menuconfig INPUT_PINNACLE
bool "Cirque Pinnacle trackpads"
default y
depends on GPIO
depends on SPI || I2C
depends on INPUT
depends on DT_HAS_CIRQUE_PINNACLE_ENABLED
help
Enable driver for Cirque Pinnacle trackpads
Loading

0 comments on commit 6d0ff61

Please sign in to comment.