vserver 2.0 rc7
[linux-2.6.git] / drivers / input / joystick / Kconfig
index 1ae0338..67519ef 100644 (file)
@@ -1,9 +1,8 @@
 #
 # Joystick driver configuration
 #
-config INPUT_JOYSTICK
+menuconfig INPUT_JOYSTICK
        bool "Joysticks"
-       depends on INPUT
        help
          If you have a joystick, 6dof controller, gamepad, steering wheel,
          weapon control system or something like that you can say Y here
@@ -13,16 +12,18 @@ config INPUT_JOYSTICK
          Please read the file <file:Documentation/input/joystick.txt> which
          contains more information.
 
+if INPUT_JOYSTICK
+
 config JOYSTICK_ANALOG
        tristate "Classic PC analog joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        ---help---
          Say Y here if you have a joystick that connects to the PC
          gameport. In addition to the usual PC analog joystick, this driver
          supports many extensions, including joysticks with throttle control,
          with rudders, additional hats and buttons compatible with CH
          Flightstick Pro, ThrustMaster FCS, 6 and 8 button gamepads, or
-         Saitek Cyborg joysticks. 
+         Saitek Cyborg joysticks.
 
          Please read the file <file:Documentation/input/joystick.txt> which
          contains more information.
@@ -32,27 +33,27 @@ config JOYSTICK_ANALOG
 
 config JOYSTICK_A3D
        tristate "Assasin 3D and MadCatz Panther devices"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have an FPGaming or MadCatz controller using the
-         A3D protocol over the PC gameport. 
+         A3D protocol over the PC gameport.
 
          To compile this driver as a module, choose M here: the
          module will be called a3d.
 
 config JOYSTICK_ADI
        tristate "Logitech ADI digital joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a Logitech controller using the ADI
-         protocol over the PC gameport. 
+         protocol over the PC gameport.
 
          To compile this driver as a module, choose M here: the
          module will be called adi.
 
 config JOYSTICK_COBRA
        tristate "Creative Labs Blaster Cobra gamepad"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a Creative Labs Blaster Cobra gamepad.
 
@@ -61,7 +62,7 @@ config JOYSTICK_COBRA
 
 config JOYSTICK_GF2K
        tristate "Genius Flight2000 Digital joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a Genius Flight2000 or MaxFighter digitally
          communicating joystick or gamepad.
@@ -71,17 +72,17 @@ config JOYSTICK_GF2K
 
 config JOYSTICK_GRIP
        tristate "Gravis GrIP joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a Gravis controller using the GrIP protocol
-         over the PC gameport. 
+         over the PC gameport.
 
          To compile this driver as a module, choose M here: the
          module will be called grip.
 
 config JOYSTICK_GRIP_MP
        tristate "Gravis GrIP MultiPort"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have the original Gravis GrIP MultiPort, a hub
          that connects to the gameport and you connect gamepads to it.
@@ -91,17 +92,17 @@ config JOYSTICK_GRIP_MP
 
 config JOYSTICK_GUILLEMOT
        tristate "Guillemot joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a Guillemot joystick using a digital
-         protocol over the PC gameport. 
+         protocol over the PC gameport.
 
          To compile this driver as a module, choose M here: the
          module will be called guillemot.
 
 config JOYSTICK_INTERACT
        tristate "InterAct digital joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have an InterAct gameport or joystick
          communicating digitally over the gameport.
@@ -111,7 +112,7 @@ config JOYSTICK_INTERACT
 
 config JOYSTICK_SIDEWINDER
        tristate "Microsoft SideWinder digital joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a Microsoft controller using the Digital
          Overdrive protocol over PC gameport.
@@ -121,10 +122,10 @@ config JOYSTICK_SIDEWINDER
 
 config JOYSTICK_TMDC
        tristate "ThrustMaster DirectConnect joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && GAMEPORT
+       select GAMEPORT
        help
          Say Y here if you have a ThrustMaster controller using the
-         DirectConnect (BSP) protocol over the PC gameport. 
+         DirectConnect (BSP) protocol over the PC gameport.
 
          To compile this driver as a module, choose M here: the
          module will be called tmdc.
@@ -133,18 +134,16 @@ source "drivers/input/joystick/iforce/Kconfig"
 
 config JOYSTICK_WARRIOR
        tristate "Logitech WingMan Warrior joystick"
-       depends on INPUT && INPUT_JOYSTICK
        select SERIO
        help
          Say Y here if you have a Logitech WingMan Warrior joystick connected
-         to your computer's serial port. 
+         to your computer's serial port.
 
          To compile this driver as a module, choose M here: the
          module will be called warrior.
 
 config JOYSTICK_MAGELLAN
        tristate "LogiCad3d Magellan/SpaceMouse 6dof controllers"
-       depends on INPUT && INPUT_JOYSTICK
        select SERIO
        help
          Say Y here if you have a Magellan or Space Mouse 6DOF controller
@@ -155,7 +154,6 @@ config JOYSTICK_MAGELLAN
 
 config JOYSTICK_SPACEORB
        tristate "SpaceTec SpaceOrb/Avenger 6dof controllers"
-       depends on INPUT && INPUT_JOYSTICK
        select SERIO
        help
          Say Y here if you have a SpaceOrb 360 or SpaceBall Avenger 6DOF
@@ -166,7 +164,6 @@ config JOYSTICK_SPACEORB
 
 config JOYSTICK_SPACEBALL
        tristate "SpaceTec SpaceBall 6dof controllers"
-       depends on INPUT && INPUT_JOYSTICK
        select SERIO
        help
          Say Y here if you have a SpaceTec SpaceBall 2003/3003/4000 FLX
@@ -178,7 +175,6 @@ config JOYSTICK_SPACEBALL
 
 config JOYSTICK_STINGER
        tristate "Gravis Stinger gamepad"
-       depends on INPUT && INPUT_JOYSTICK
        select SERIO
        help
          Say Y here if you have a Gravis Stinger connected to one of your
@@ -187,9 +183,8 @@ config JOYSTICK_STINGER
          To compile this driver as a module, choose M here: the
          module will be called stinger.
 
-config JOYSTICK_TWIDDLER
+config JOYSTICK_TWIDJOY
        tristate "Twiddler as a joystick"
-       depends on INPUT && INPUT_JOYSTICK
        select SERIO
        help
          Say Y here if you have a Handykey Twiddler connected to your
@@ -200,7 +195,7 @@ config JOYSTICK_TWIDDLER
 
 config JOYSTICK_DB9
        tristate "Multisystem, Sega Genesis, Saturn joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && PARPORT
+       depends on PARPORT
        ---help---
          Say Y here if you have a Sega Master System gamepad, Sega Genesis
          gamepad, Sega Saturn gamepad, or a Multisystem -- Atari, Amiga,
@@ -213,7 +208,7 @@ config JOYSTICK_DB9
 
 config JOYSTICK_GAMECON
        tristate "Multisystem, NES, SNES, N64, PSX joysticks and gamepads"
-       depends on INPUT && INPUT_JOYSTICK && PARPORT
+       depends on PARPORT
        ---help---
          Say Y here if you have a Nintendo Entertainment System gamepad,
          Super Nintendo Entertainment System gamepad, Nintendo 64 gamepad,
@@ -227,7 +222,7 @@ config JOYSTICK_GAMECON
 
 config JOYSTICK_TURBOGRAFX
        tristate "Multisystem joysticks via TurboGraFX device"
-       depends on INPUT && INPUT_JOYSTICK && PARPORT
+       depends on PARPORT
        help
          Say Y here if you have the TurboGraFX interface by Steffen Schwenke,
          and want to use it with Multisystem -- Atari, Amiga, Commodore,
@@ -239,7 +234,7 @@ config JOYSTICK_TURBOGRAFX
 
 config JOYSTICK_AMIGA
        tristate "Amiga joysticks"
-       depends on AMIGA && INPUT && INPUT_JOYSTICK
+       depends on AMIGA
        help
          Say Y here if you have an Amiga with a digital joystick connected
          to it.
@@ -247,14 +242,15 @@ config JOYSTICK_AMIGA
          To compile this driver as a module, choose M here: the
          module will be called amijoy.
 
-config INPUT_JOYDUMP
+config JOYSTICK_JOYDUMP
        tristate "Gameport data dumper"
-       depends on INPUT && INPUT_JOYSTICK
+       select GAMEPORT
        help
          Say Y here if you want to dump data from your joystick into the system
          log for debugging purposes. Say N if you are making a production
-         configuration or aren't sure. 
+         configuration or aren't sure.
 
          To compile this driver as a module, choose M here: the
          module will be called joydump.
 
+endif