:orphan: .. title:: USB_HID_PROTOCOL_CODE .. option:: CONFIG_USB_HID_PROTOCOL_CODE *HID protocol code* Type: ``int`` Help ==== Sets bIntefaceProtocol in HID instance. 0 = None 1 = Keyboard 2 = Mouse See Chapter 4.3 of Device Class Definition for Human Interface Devices 1.11 for more information. Direct dependencies =================== \ :option:`USB_HID_BOOT_PROTOCOL ` && \ :option:`USB_DEVICE_HID ` && \ :option:`USB_DEVICE_STACK ` *(Includes any dependencies from ifs and menus.)* Default ======= - 0 Kconfig definition ================== .. highlight:: kconfig At ``subsys/usb/class/hid/Kconfig:62`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:45`` → ``subsys/usb/Kconfig:144`` → ``subsys/usb/class/Kconfig:136`` Menu path: (Top) → Sub Systems and OS Services → USB Device Support → USB Human Interface Device support → Enable USB HID Boot Protocol handling .. parsed-literal:: config USB_HID_PROTOCOL_CODE int "HID protocol code" range 0 2 default 0 depends on \ :option:`USB_HID_BOOT_PROTOCOL ` && \ :option:`USB_DEVICE_HID ` && \ :option:`USB_DEVICE_STACK ` help Sets bIntefaceProtocol in HID instance. 0 = None 1 = Keyboard 2 = Mouse See Chapter 4.3 of Device Class Definition for Human Interface Devices 1.11 for more information. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*