2014-11-28 22:37:33 +01: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.
|
2014-11-28 22:37:33 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_DJOYSTICK
|
|
|
|
bool "Discrete joystick example"
|
|
|
|
default n
|
|
|
|
depends on DJOYSTICK && !DISABLE_SIGNALS
|
|
|
|
---help---
|
|
|
|
Enable the discrete joystick example
|
|
|
|
|
|
|
|
if EXAMPLES_DJOYSTICK
|
|
|
|
|
|
|
|
config EXAMPLES_DJOYSTICK_DEVNAME
|
|
|
|
string "Joystick device name"
|
|
|
|
default "/dev/djoy0"
|
|
|
|
|
|
|
|
config EXAMPLES_DJOYSTICK_SIGNO
|
|
|
|
int "Joystick signal"
|
|
|
|
default 13
|
|
|
|
|
|
|
|
endif
|