41 lines
798 B
Plaintext
41 lines
798 B
Plaintext
# Kconfig - USB HID configuration options
|
|
|
|
#
|
|
# Copyright (c) 2018 Intel Corp.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config USB_DEVICE_HID
|
|
bool "USB Human Interface Device support"
|
|
help
|
|
Enables USB Human Interface Device support.
|
|
|
|
if USB_DEVICE_HID
|
|
|
|
config ENABLE_HID_INT_OUT_EP
|
|
bool
|
|
prompt "Enable USB HID Device Interrupt OUT Endpoint"
|
|
help
|
|
Enable USB HID Device Interrupt OUT Endpoint.
|
|
|
|
config HID_INTERRUPT_EP_MPS
|
|
int "USB HID Device Interrupt Endpoint size"
|
|
default 16
|
|
help
|
|
USB HID Device interrupt endpoint size
|
|
|
|
config USB_HID_MAX_PAYLOAD_SIZE
|
|
int
|
|
default 64
|
|
help
|
|
Max allowed payload size over USB HID Class
|
|
|
|
config USB_HID_POLL_INTERVAL_MS
|
|
int "Polling interval"
|
|
default 9
|
|
help
|
|
Polling interval in ms selected by the USB HID Device.
|
|
|
|
endif # USB_DEVICE_HID
|