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 Subsystem>/usb/class/hid/Kconfig:68
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:49 → <Zephyr Subsystem>/usb/Kconfig:160 → <Zephyr Subsystem>/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.)