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_TOUCHSCREEN
|
|
|
|
bool "Touchscreen example"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the touchscreen example
|
|
|
|
|
|
|
|
if EXAMPLES_TOUCHSCREEN
|
2013-04-02 00:00:37 +02:00
|
|
|
|
|
|
|
config EXAMPLES_TOUCHSCREEN_BUILTIN
|
|
|
|
bool "NSH built-in application"
|
|
|
|
default y
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
Build the touchscreen test as an NSH built-in function. Default:
|
|
|
|
Built as a standalone problem unless NSH_BUILTIN_APPS is defined.
|
|
|
|
Then the default is to build as an NSH built-in application.
|
|
|
|
|
|
|
|
config EXAMPLES_TOUCHSCREEN_MINOR
|
|
|
|
int "Touchscreen minor device number"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
The minor device number. Minor=N corresponds to touchscreen device
|
2013-04-02 18:36:19 +02:00
|
|
|
/dev/inputN. Note this value must with EXAMPLES_TOUCHSCREEN_DEVPATH.
|
2013-04-02 00:00:37 +02:00
|
|
|
Default 0.
|
|
|
|
|
|
|
|
config EXAMPLES_TOUCHSCREEN_DEVPATH
|
|
|
|
string "Touchscreen device path"
|
|
|
|
default "/dev/input0"
|
|
|
|
---help---
|
|
|
|
The path to the touchscreen device. This must be consistent with
|
|
|
|
EXAMPLES_TOUCHSCREEN_MINOR. Default: "/dev/input0"
|
|
|
|
|
|
|
|
config EXAMPLES_TOUCHSCREEN_NSAMPLES
|
|
|
|
int "Number of samples"
|
|
|
|
default 0
|
|
|
|
depends on !EXAMPLES_TOUCHSCREEN_BUILTIN
|
|
|
|
---help---
|
|
|
|
If EXAMPLES_TOUCHSCREEN_BUILTIN is defined, then the number of
|
|
|
|
samples is provided on the command line and this value is ignored.
|
|
|
|
Otherwise, this number of samples is collected and the program
|
|
|
|
terminates. Default: Zero (Samples are collected indefinitely).
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|