2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "USB HID keyboard example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the USB HID keyboard example
|
|
|
|
|
|
|
|
if EXAMPLES_HIDKBD
|
2012-12-26 22:37:50 +01:00
|
|
|
|
2017-04-18 15:24:15 +02:00
|
|
|
config EXAMPLES_HIDKBD_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "hidkbd"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the Nettest
|
2017-04-18 15:24:15 +02:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD_STACKSIZE
|
|
|
|
int "Task stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2017-04-18 15:24:15 +02:00
|
|
|
|
|
|
|
config EXAMPLES_HIDKBD_DEFPRIO
|
|
|
|
int "Task priority"
|
|
|
|
default 100
|
|
|
|
|
2012-12-26 22:37:50 +01:00
|
|
|
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
|
2021-08-01 09:28:27 +02:00
|
|
|
depends on HIDKBD_ENCODED && LIBC_KBDCODEC
|
2012-12-26 22:37:50 +01:00
|
|
|
---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
|