The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_USB_HID_DEVICE_COUNT

Number of USB_HID Devices

Type: int

Help

Number of instances of this USB Device class.

Direct dependencies

USB_DEVICE_HID && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At subsys/usb/class/Kconfig.template.composite_device_number:7

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:45subsys/usb/Kconfig:144subsys/usb/class/Kconfig:136subsys/usb/class/hid/Kconfig:23

Menu path: (Top) → Sub Systems and OS Services → USB Device Support → USB Human Interface Device support

config USB_HID_DEVICE_COUNT
    int "Number of USB_HID Devices"
    default 1
    depends on USB_DEVICE_HID && USB_DEVICE_STACK
    help
      Number of instances of this USB Device class.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)