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
|
|
|
|
---help---
|
2019-10-07 10:37:56 +02:00
|
|
|
This number of samples is collected and the program.
|
2013-04-02 00:00:37 +02:00
|
|
|
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
|