nuttx-apps/examples/djoystick/Kconfig
wangchengdong d9afe2db8c signals: fix build and runtime issues when signals all isabled
Fix build and runtime issues when signals all disabled.

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
2026-01-19 22:55:19 +08:00

23 lines
496 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_DJOYSTICK
tristate "Discrete joystick example"
default n
depends on INPUT_DJOYSTICK && ENABLE_ALL_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 32
endif