2018-01-24 20:02:44 +08:00
|
|
|
# Kconfig - USB HID configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Intel Corp.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
config USB_DEVICE_HID
|
|
|
|
bool
|
|
|
|
prompt "USB Human Interface Device support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enables USB Human Interface Device support.
|
|
|
|
|
|
|
|
if USB_DEVICE_HID
|
|
|
|
|
|
|
|
config HID_INT_EP_ADDR
|
|
|
|
hex
|
|
|
|
prompt "USB HID Device Interrupt Endpoint address"
|
|
|
|
default 0x81
|
|
|
|
range 0x81 0x8F
|
|
|
|
help
|
|
|
|
USB HID Device interrupt endpoint address
|
|
|
|
|
|
|
|
config HID_INTERRUPT_EP_MPS
|
|
|
|
int
|
2018-06-14 02:17:22 +08:00
|
|
|
prompt "USB HID Device Interrupt Endpoint size"
|
2018-01-24 20:02:44 +08:00
|
|
|
default 16
|
|
|
|
help
|
|
|
|
USB HID Device interrupt endpoint size
|
|
|
|
|
2018-05-07 11:10:15 +08:00
|
|
|
config USB_HID_MAX_PAYLOAD_SIZE
|
|
|
|
int
|
|
|
|
default 64
|
|
|
|
help
|
|
|
|
Max allowed payload size over USB HID Class
|
|
|
|
|
2018-01-24 20:02:44 +08:00
|
|
|
endif # USB_DEVICE_HID
|