diff options
Diffstat (limited to 'apps/graphics/traveler/Kconfig')
-rw-r--r-- | apps/graphics/traveler/Kconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/graphics/traveler/Kconfig b/apps/graphics/traveler/Kconfig index 851ab4ca7..47dd09c1b 100644 --- a/apps/graphics/traveler/Kconfig +++ b/apps/graphics/traveler/Kconfig @@ -17,6 +17,38 @@ config GRAPHICS_TRAVELER_RGB32_888 endchoice # Color format +config GRAPHICS_TRAVELER_JOYSTICK + bool + default n + +choice + prompt "Input device" + default GRAPHICS_TRAVELER_AJOYSTICK if CONFIG_AJOYSTICK + default GRAPHICS_TRAVELER_DJOYSTICK if CONFIG_DJOYSTICK && !CONFIG_AJOYSTICK + default GRAPHICS_TRAVELER_NX_XYINPUT if CONFIG_NX_XYINPUT && !CONFIG_AJOYSTICK && !CONFIG_DJOYSTICK + +config GRAPHICS_TRAVELER_AJOYSTICK + bool "Analog joystick" + depends on CONFIG_AJOYSTICK + select GRAPHICS_TRAVELER_JOYSTICK + +config GRAPHICS_TRAVELER_DJOYSTICK + bool "Discrete joystick" + depends on CONFIG_DJOYSTICK + select GRAPHICS_TRAVELER_JOYSTICK + +config GRAPHICS_TRAVELER_NX_XYINPUT + bool "NX X/Y input" + depends on CONFIG_NX_XYINPUT + +endchoice # Input device + +config GRAPHICS_TRAVELER_JOYDEV + string "Joystick device name" + default "/dev/ajoy0" if GRAPHICS_TRAVELER_AJOYSTICK + default "/dev/djoy0" if GRAPHICS_TRAVELER_DJOYSTICK + depends on GRAPHICS_TRAVELER_JOYSTICK + config GRAPHICS_TRAVELER_PERFMON bool "Performance monitor" default y |