summaryrefslogtreecommitdiff
path: root/apps/examples/ajoystick/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ajoystick/Kconfig')
-rw-r--r--apps/examples/ajoystick/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/examples/ajoystick/Kconfig b/apps/examples/ajoystick/Kconfig
new file mode 100644
index 000000000..31c87b6d9
--- /dev/null
+++ b/apps/examples/ajoystick/Kconfig
@@ -0,0 +1,23 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+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