-
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¶
USB_HID_BOOT_PROTOCOL
&& USB_DEVICE_HID
&& USB_DEVICE_STACK
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0 if
USB_HID_BOOT_PROTOCOL
&&USB_DEVICE_HID
&&USB_DEVICE_STACK
Kconfig definition¶
At subsys/usb/class/hid/Kconfig:79
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:28
→ subsys/usb/Kconfig:102
→ subsys/usb/class/Kconfig:129
Menu path: (top menu) → USB device stack
config USB_HID_PROTOCOL_CODE int prompt "HID protocol code" ifUSB_HID_BOOT_PROTOCOL
&&USB_DEVICE_HID
&&USB_DEVICE_STACK
range 0 2 ifUSB_HID_BOOT_PROTOCOL
&&USB_DEVICE_HID
&&USB_DEVICE_STACK
default 0 ifUSB_HID_BOOT_PROTOCOL
&&USB_DEVICE_HID
&&USB_DEVICE_STACK
depends onUSB_HID_BOOT_PROTOCOL
&&USB_DEVICE_HID
&&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.
(Definitions include propagated dependencies, including from if’s and menus.)