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_TOUCHSCREEN
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Touchscreen example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the touchscreen example
|
|
|
|
|
|
|
|
if EXAMPLES_TOUCHSCREEN
|
2013-04-02 00:00:37 +02:00
|
|
|
|
|
|
|
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
|
2013-10-03 20:49:13 +02:00
|
|
|
depends on !NSH_BUILTIN_APPS
|
2013-04-02 00:00:37 +02:00
|
|
|
---help---
|
2013-06-02 18:33:57 +02:00
|
|
|
If NSH_BUILTIN_APPS is defined, then the number of touchscreen
|
2013-04-02 00:00:37 +02:00
|
|
|
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).
|
|
|
|
|
2014-02-10 17:14:22 +01:00
|
|
|
config EXAMPLES_TOUCHSCREEN_MOUSE
|
|
|
|
bool "Mouse interface"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The touchscreen test can also be configured to work with a mouse
|
|
|
|
driver by setting this option.
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|