# Copyright (c) 2022 The ZMK Contributors # SPDX-License-Identifier: MIT menuconfig PINNACLE bool "PINNACLE Incremental Encoder Sensor" depends on GPIO depends on SPI help Enable driver for Cirque Pinnacle trackpads if PINNACLE choice prompt "Trigger mode" default PINNACLE_TRIGGER_NONE help Specify the type of triggering to be used by the driver. config PINNACLE_TRIGGER_NONE bool "No trigger" config PINNACLE_TRIGGER_GLOBAL_THREAD bool "Use global thread" depends on GPIO select PINNACLE_TRIGGER config PINNACLE_TRIGGER_OWN_THREAD bool "Use own thread" depends on GPIO select PINNACLE_TRIGGER endchoice config PINNACLE_TRIGGER bool config PINNACLE_THREAD_PRIORITY int "Thread priority" depends on PINNACLE_TRIGGER_OWN_THREAD default 10 help Priority of thread used by the driver to handle interrupts. config PINNACLE_THREAD_STACK_SIZE int "Thread stack size" depends on PINNACLE_TRIGGER_OWN_THREAD default 1024 help Stack size of thread used by the driver to handle interrupts. endif # PINNACLE