CONFIG_USB_HID_PROTOCOL_CODE

HID Boot Interface protocol code (DEPRECATED)

Type: int

Help

This option is deprecated.
Please use usb_hid_set_proto_code() instead.

Direct dependencies

USB_HID_BOOT_PROTOCOL && USB_DEVICE_HID && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

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

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

Menu path: (Top) → Sub Systems and OS Services → USB Device Support → USB Human Interface Device support → Enable USB HID Boot Protocol handling

config USB_HID_PROTOCOL_CODE
    int "HID Boot Interface protocol code (DEPRECATED)"
    range 0 2
    default 0
    depends on USB_HID_BOOT_PROTOCOL && USB_DEVICE_HID && USB_DEVICE_STACK
    help
      This option is deprecated.
      Please use usb_hid_set_proto_code() instead.

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