2014-12-03 16:34:47 +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-12-03 16:34:47 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_AJOYSTICK
|
|
|
|
bool "Analog joystick example"
|
|
|
|
default n
|
|
|
|
depends on AJOYSTICK && !DISABLE_SIGNALS
|
|
|
|
---help---
|
|
|
|
Enable the analog joystick example
|
|
|
|
|
|
|
|
if EXAMPLES_AJOYSTICK
|
|
|
|
|
|
|
|
config EXAMPLES_AJOYSTICK_DEVNAME
|
|
|
|
string "Joystick device name"
|
|
|
|
default "/dev/ajoy0"
|
|
|
|
|
|
|
|
config EXAMPLES_AJOYSTICK_SIGNO
|
|
|
|
int "Joystick signal"
|
|
|
|
default 13
|
|
|
|
|
|
|
|
endif
|