2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD
|
|
|
|
bool "USB HID keyboard example"
|
|
|
|
default n
|
2015-03-24 02:03:51 +01:00
|
|
|
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the USB HID keyboard example
|
|
|
|
|
|
|
|
if EXAMPLES_HIDKBD
|
2012-12-26 22:37:50 +01:00
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD_DEFPRIO
|
|
|
|
int "Waiter Thread Priority"
|
|
|
|
default 50
|
|
|
|
---help---
|
|
|
|
Priority of "waiter" thread. Default: 50
|
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD_STACKSIZE
|
|
|
|
int "Waiter Thread Stack Size"
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
Stacksize of "waiter" thread. Default 1024
|
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD_DEVNAME
|
|
|
|
string "Keyboard Device Name"
|
|
|
|
default "/dev/kbda"
|
|
|
|
---help---
|
|
|
|
Name of keyboard device to be used. Default: "/dev/kbda"
|
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD_ENCODED
|
|
|
|
bool "Encode Special Keys"
|
|
|
|
default y
|
|
|
|
depends on HIDKBD_ENCODED && LIB_KBDCODEC
|
|
|
|
---help---
|
|
|
|
Decode special key press events in the user buffer. In this case,
|
|
|
|
the example coded will use the interfaces defined in
|
|
|
|
include/nuttx/input/kbd_codec.h to decode the returned keyboard
|
|
|
|
data. These special keys include such things as up/down arrows,
|
|
|
|
home and end keys, etc. If this not defined, only 7-bit print-able
|
|
|
|
and control ASCII characters will be provided to the user.
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|