CONFIG_USB_HID_DEVICE_NAME

USB HID device name template

Type: string

Help

Device name template for the HID Devices. First device would have
name $(USB_HID_DEVICE_NAME)_0, etc.

Direct dependencies

USB_DEVICE_HID && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • “HID”

Kconfig definition

At <Zephyr>/subsys/usb/class/hid/Kconfig:14

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:49<Zephyr>/subsys/usb/Kconfig:155<Zephyr>/subsys/usb/class/Kconfig:16

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

config USB_HID_DEVICE_NAME
    string "USB HID device name template"
    default "HID"
    depends on USB_DEVICE_HID && USB_DEVICE_STACK
    help
      Device name template for the HID Devices. First device would have
      name $(USB_HID_DEVICE_NAME)_0, etc.

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