mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
usbhost_hidkbd: Add the option to use interrupt transfers.
Using the interrupt pipe is recommended in the Get_Report request section of the HID standard. This option has been added to support some keyboards that refuse to return valid keys when polled using the Get_Report request. Support for the Caps Lock key, including LED, has also been added.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
b058f37353
commit
18d196e968
@@ -361,6 +361,12 @@ config HIDKBD_NODEBOUNCE
|
|||||||
If set to y normal debouncing is disabled. Default:
|
If set to y normal debouncing is disabled. Default:
|
||||||
Debounce enabled (No repeat keys).
|
Debounce enabled (No repeat keys).
|
||||||
|
|
||||||
|
config HIDKBD_NOGETREPORT
|
||||||
|
bool "Use Interrupt pipe to get keys"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Use the INTERRUPT IN pipe to get keyboard input reports.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config USBHOST_HIDMOUSE
|
config USBHOST_HIDMOUSE
|
||||||
|
|||||||
+605
-160
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user