aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-05-07 16:48:50 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-05-08 01:41:29 -0400
commit1c362d46825259a48c1d543cab3805a6c770c0c8 (patch)
tree7f718816835676e71b4740a02fb4b065575e2f3c
parentd05e84e6cb21cca16987813fd3c271ebaed4233d (diff)
Input: move USB gamepads under drivers/input/joystick
This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/input/joystick/Kconfig18
-rw-r--r--drivers/input/joystick/Makefile1
-rw-r--r--drivers/input/joystick/xpad.c (renamed from drivers/usb/input/xpad.c)0
-rw-r--r--drivers/usb/Makefile1
-rw-r--r--drivers/usb/input/Kconfig14
-rw-r--r--drivers/usb/input/Makefile1
6 files changed, 17 insertions, 18 deletions
diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig
index 271263443c37..82f563e24fdb 100644
--- a/drivers/input/joystick/Kconfig
+++ b/drivers/input/joystick/Kconfig
@@ -2,7 +2,7 @@
2# Joystick driver configuration 2# Joystick driver configuration
3# 3#
4menuconfig INPUT_JOYSTICK 4menuconfig INPUT_JOYSTICK
5 bool "Joysticks" 5 bool "Joysticks/Gamepads"
6 help 6 help
7 If you have a joystick, 6dof controller, gamepad, steering wheel, 7 If you have a joystick, 6dof controller, gamepad, steering wheel,
8 weapon control system or something like that you can say Y here 8 weapon control system or something like that you can say Y here
@@ -196,7 +196,7 @@ config JOYSTICK_TWIDJOY
196config JOYSTICK_DB9 196config JOYSTICK_DB9
197 tristate "Multisystem, Sega Genesis, Saturn joysticks and gamepads" 197 tristate "Multisystem, Sega Genesis, Saturn joysticks and gamepads"
198 depends on PARPORT 198 depends on PARPORT
199 ---help--- 199 help
200 Say Y here if you have a Sega Master System gamepad, Sega Genesis 200 Say Y here if you have a Sega Master System gamepad, Sega Genesis
201 gamepad, Sega Saturn gamepad, or a Multisystem -- Atari, Amiga, 201 gamepad, Sega Saturn gamepad, or a Multisystem -- Atari, Amiga,
202 Commodore, Amstrad CPC joystick connected to your parallel port. 202 Commodore, Amstrad CPC joystick connected to your parallel port.
@@ -253,4 +253,18 @@ config JOYSTICK_JOYDUMP
253 To compile this driver as a module, choose M here: the 253 To compile this driver as a module, choose M here: the
254 module will be called joydump. 254 module will be called joydump.
255 255
256config JOYSTICK_XPAD
257 tristate "X-Box gamepad support"
258 select USB
259 help
260 Say Y here if you want to use the X-Box pad with your computer.
261 Make sure to say Y to "Joystick support" (CONFIG_INPUT_JOYDEV)
262 and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well.
263
264 For information about how to connect the X-Box pad to USB, see
265 <file:Documentation/input/xpad.txt>.
266
267 To compile this driver as a module, choose M here: the
268 module will be called xpad.
269
256endif 270endif
diff --git a/drivers/input/joystick/Makefile b/drivers/input/joystick/Makefile
index 5231f6ff75b8..e855abb0cc51 100644
--- a/drivers/input/joystick/Makefile
+++ b/drivers/input/joystick/Makefile
@@ -26,5 +26,6 @@ obj-$(CONFIG_JOYSTICK_TMDC) += tmdc.o
26obj-$(CONFIG_JOYSTICK_TURBOGRAFX) += turbografx.o 26obj-$(CONFIG_JOYSTICK_TURBOGRAFX) += turbografx.o
27obj-$(CONFIG_JOYSTICK_TWIDJOY) += twidjoy.o 27obj-$(CONFIG_JOYSTICK_TWIDJOY) += twidjoy.o
28obj-$(CONFIG_JOYSTICK_WARRIOR) += warrior.o 28obj-$(CONFIG_JOYSTICK_WARRIOR) += warrior.o
29obj-$(CONFIG_JOYSTICK_XPAD) += xpad.o
29 30
30obj-$(CONFIG_JOYSTICK_IFORCE) += iforce/ 31obj-$(CONFIG_JOYSTICK_IFORCE) += iforce/
diff --git a/drivers/usb/input/xpad.c b/drivers/input/joystick/xpad.c
index 735723912950..735723912950 100644
--- a/drivers/usb/input/xpad.c
+++ b/drivers/input/joystick/xpad.c
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index 2b6caf674e4a..7059a64637a8 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -25,7 +25,6 @@ obj-$(CONFIG_USB) += storage/
25 25
26obj-$(CONFIG_USB_ATI_REMOTE) += input/ 26obj-$(CONFIG_USB_ATI_REMOTE) += input/
27obj-$(CONFIG_USB_POWERMATE) += input/ 27obj-$(CONFIG_USB_POWERMATE) += input/
28obj-$(CONFIG_USB_XPAD) += input/
29 28
30obj-$(CONFIG_USB_CATC) += net/ 29obj-$(CONFIG_USB_CATC) += net/
31obj-$(CONFIG_USB_KAWETH) += net/ 30obj-$(CONFIG_USB_KAWETH) += net/
diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
index 68109a02b6cd..19228780ed84 100644
--- a/drivers/usb/input/Kconfig
+++ b/drivers/usb/input/Kconfig
@@ -33,20 +33,6 @@ config USB_YEALINK
33 To compile this driver as a module, choose M here: the module will be 33 To compile this driver as a module, choose M here: the module will be
34 called yealink. 34 called yealink.
35 35
36config USB_XPAD
37 tristate "X-Box gamepad support"
38 depends on USB && INPUT
39 ---help---
40 Say Y here if you want to use the X-Box pad with your computer.
41 Make sure to say Y to "Joystick support" (CONFIG_INPUT_JOYDEV)
42 and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well.
43
44 For information about how to connect the X-Box pad to USB, see
45 <file:Documentation/input/xpad.txt>.
46
47 To compile this driver as a module, choose M here: the
48 module will be called xpad.
49
50config USB_ATI_REMOTE 36config USB_ATI_REMOTE
51 tristate "ATI / X10 USB RF remote control" 37 tristate "ATI / X10 USB RF remote control"
52 depends on USB && INPUT 38 depends on USB && INPUT
diff --git a/drivers/usb/input/Makefile b/drivers/usb/input/Makefile
index c8b843ce167c..d2cbb0ec7963 100644
--- a/drivers/usb/input/Makefile
+++ b/drivers/usb/input/Makefile
@@ -7,7 +7,6 @@ obj-$(CONFIG_USB_ATI_REMOTE2) += ati_remote2.o
7obj-$(CONFIG_USB_KEYSPAN_REMOTE) += keyspan_remote.o 7obj-$(CONFIG_USB_KEYSPAN_REMOTE) += keyspan_remote.o
8obj-$(CONFIG_USB_POWERMATE) += powermate.o 8obj-$(CONFIG_USB_POWERMATE) += powermate.o
9obj-$(CONFIG_USB_YEALINK) += yealink.o 9obj-$(CONFIG_USB_YEALINK) += yealink.o
10obj-$(CONFIG_USB_XPAD) += xpad.o
11obj-$(CONFIG_USB_APPLETOUCH) += appletouch.o 10obj-$(CONFIG_USB_APPLETOUCH) += appletouch.o
12 11
13ifeq ($(CONFIG_USB_DEBUG),y) 12ifeq ($(CONFIG_USB_DEBUG),y)