-
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 ifs and menus.)
Default¶
0
Kconfig definition¶
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
config USB_HID_PROTOCOL_CODE
int "HID protocol code"
range 0 2
default 0
depends on USB_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.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)