1# Copyright (c) 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig USBD_HID_SUPPORT
5	bool "USB Human Interface Device support"
6	default y
7	depends on DT_HAS_ZEPHYR_HID_DEVICE_ENABLED
8	help
9	  Enables USB Human Interface Device support.
10
11if USBD_HID_SUPPORT
12
13config USBD_HID_IN_BUF_COUNT
14	int "Number of buffers in the IN pool"
15	range 1 256
16	default 2
17	help
18	  Number of buffers in the IN pool per HID instance.
19
20config USBD_HID_OUT_BUF_COUNT
21	int "Number of buffers in the OUT pool"
22	range 1 256
23	default 2
24	help
25	  Number of buffers in the OUT pool per HID instance.
26
27config USBD_HID_INIT_PRIORITY
28	int "HID device init priority"
29	default KERNEL_INIT_PRIORITY_DEVICE
30	help
31	  HID device initialization priority
32
33module = USBD_HID
34module-str = usbd hid
35source "subsys/logging/Kconfig.template.log_config"
36
37endif # USBD_HID_SUPPORT
38