# Copyright 2024 Cirrus Logic, Inc.
#
# SPDX-License-Identifier: Apache-2.0

menuconfig HAPTICS
	bool "Haptic feedback drivers"
	help
	  Enable haptics driver configuration.

if HAPTICS

module = HAPTICS
module-str = haptics
source "subsys/logging/Kconfig.template.log_config"

config HAPTICS_INIT_PRIORITY
	int "Haptic driver init priority"
	default 90
	help
	  Haptic driver initialization priority.

config HAPTICS_SHELL
	bool "Haptics shell"
	depends on SHELL
	help
	  Enable Haptics-related shell commands.

config HAPTICS_SHELL_BUFFER_SIZE
	int "Haptics shell buffer size"
	depends on HAPTICS_SHELL
	default 16
	help
	  Size of the buffer in bytes used when streaming samples to a haptic
	  driver. Note that the buffer is allocated on the stack.

# zephyr-keep-sorted-start
source "drivers/haptics/cirrus/Kconfig"
source "drivers/haptics/ti/Kconfig"
source "drivers/haptics/titanmec/Kconfig"
# zephyr-keep-sorted-stop

endif # HAPTICS
