diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-07 17:12:07 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:41:29 -0400 |
commit | b5da20f8f7652e7a9648401a1942b7aac3b9ab9d (patch) | |
tree | 05ede0aa5e581dc4f643b1484761f69d057e8755 | |
parent | 1c362d46825259a48c1d543cab3805a6c770c0c8 (diff) |
Input: move USB mice under drivers/input/mouse
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/mouse/Kconfig | 38 | ||||
-rw-r--r-- | drivers/input/mouse/Makefile | 1 | ||||
-rw-r--r-- | drivers/input/mouse/appletouch.c (renamed from drivers/usb/input/appletouch.c) | 0 | ||||
-rw-r--r-- | drivers/usb/input/Kconfig | 20 | ||||
-rw-r--r-- | drivers/usb/input/Makefile | 1 |
5 files changed, 30 insertions, 30 deletions
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index 81dd8c7211a7..2ccc114b3ff6 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig | |||
@@ -2,7 +2,7 @@ | |||
2 | # Mouse driver configuration | 2 | # Mouse driver configuration |
3 | # | 3 | # |
4 | menuconfig INPUT_MOUSE | 4 | menuconfig INPUT_MOUSE |
5 | bool "Mouse" | 5 | bool "Mice" |
6 | default y | 6 | default y |
7 | help | 7 | help |
8 | Say Y here, and a list of supported mice will be displayed. | 8 | Say Y here, and a list of supported mice will be displayed. |
@@ -19,7 +19,7 @@ config MOUSE_PS2 | |||
19 | select SERIO_LIBPS2 | 19 | select SERIO_LIBPS2 |
20 | select SERIO_I8042 if X86_PC | 20 | select SERIO_I8042 if X86_PC |
21 | select SERIO_GSCPS2 if GSC | 21 | select SERIO_GSCPS2 if GSC |
22 | ---help--- | 22 | help |
23 | Say Y here if you have a PS/2 mouse connected to your system. This | 23 | Say Y here if you have a PS/2 mouse connected to your system. This |
24 | includes the standard 2 or 3-button PS/2 mouse, as well as PS/2 | 24 | includes the standard 2 or 3-button PS/2 mouse, as well as PS/2 |
25 | mice with wheels and extra buttons, Microsoft, Logitech or Genius | 25 | mice with wheels and extra buttons, Microsoft, Logitech or Genius |
@@ -41,7 +41,7 @@ config MOUSE_PS2_ALPS | |||
41 | bool "ALPS PS/2 mouse protocol extension" if EMBEDDED | 41 | bool "ALPS PS/2 mouse protocol extension" if EMBEDDED |
42 | default y | 42 | default y |
43 | depends on MOUSE_PS2 | 43 | depends on MOUSE_PS2 |
44 | ---help--- | 44 | help |
45 | Say Y here if you have an ALPS PS/2 touchpad connected to | 45 | Say Y here if you have an ALPS PS/2 touchpad connected to |
46 | your system. | 46 | your system. |
47 | 47 | ||
@@ -51,7 +51,7 @@ config MOUSE_PS2_LOGIPS2PP | |||
51 | bool "Logictech PS/2++ mouse protocol extension" if EMBEDDED | 51 | bool "Logictech PS/2++ mouse protocol extension" if EMBEDDED |
52 | default y | 52 | default y |
53 | depends on MOUSE_PS2 | 53 | depends on MOUSE_PS2 |
54 | ---help--- | 54 | help |
55 | Say Y here if you have a Logictech PS/2++ mouse connected to | 55 | Say Y here if you have a Logictech PS/2++ mouse connected to |
56 | your system. | 56 | your system. |
57 | 57 | ||
@@ -61,7 +61,7 @@ config MOUSE_PS2_SYNAPTICS | |||
61 | bool "Synaptics PS/2 mouse protocol extension" if EMBEDDED | 61 | bool "Synaptics PS/2 mouse protocol extension" if EMBEDDED |
62 | default y | 62 | default y |
63 | depends on MOUSE_PS2 | 63 | depends on MOUSE_PS2 |
64 | ---help--- | 64 | help |
65 | Say Y here if you have a Synaptics PS/2 TouchPad connected to | 65 | Say Y here if you have a Synaptics PS/2 TouchPad connected to |
66 | your system. | 66 | your system. |
67 | 67 | ||
@@ -71,7 +71,7 @@ config MOUSE_PS2_LIFEBOOK | |||
71 | bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EMBEDDED | 71 | bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EMBEDDED |
72 | default y | 72 | default y |
73 | depends on MOUSE_PS2 | 73 | depends on MOUSE_PS2 |
74 | ---help--- | 74 | help |
75 | Say Y here if you have a Fujitsu B-series Lifebook PS/2 | 75 | Say Y here if you have a Fujitsu B-series Lifebook PS/2 |
76 | TouchScreen connected to your system. | 76 | TouchScreen connected to your system. |
77 | 77 | ||
@@ -81,7 +81,7 @@ config MOUSE_PS2_TRACKPOINT | |||
81 | bool "IBM Trackpoint PS/2 mouse protocol extension" if EMBEDDED | 81 | bool "IBM Trackpoint PS/2 mouse protocol extension" if EMBEDDED |
82 | default y | 82 | default y |
83 | depends on MOUSE_PS2 | 83 | depends on MOUSE_PS2 |
84 | ---help--- | 84 | help |
85 | Say Y here if you have an IBM Trackpoint PS/2 mouse connected | 85 | Say Y here if you have an IBM Trackpoint PS/2 mouse connected |
86 | to your system. | 86 | to your system. |
87 | 87 | ||
@@ -90,7 +90,7 @@ config MOUSE_PS2_TRACKPOINT | |||
90 | config MOUSE_PS2_TOUCHKIT | 90 | config MOUSE_PS2_TOUCHKIT |
91 | bool "eGalax TouchKit PS/2 protocol extension" | 91 | bool "eGalax TouchKit PS/2 protocol extension" |
92 | depends on MOUSE_PS2 | 92 | depends on MOUSE_PS2 |
93 | ---help--- | 93 | help |
94 | Say Y here if you have an eGalax TouchKit PS/2 touchscreen | 94 | Say Y here if you have an eGalax TouchKit PS/2 touchscreen |
95 | connected to your system. | 95 | connected to your system. |
96 | 96 | ||
@@ -99,7 +99,7 @@ config MOUSE_PS2_TOUCHKIT | |||
99 | config MOUSE_SERIAL | 99 | config MOUSE_SERIAL |
100 | tristate "Serial mouse" | 100 | tristate "Serial mouse" |
101 | select SERIO | 101 | select SERIO |
102 | ---help--- | 102 | help |
103 | Say Y here if you have a serial (RS-232, COM port) mouse connected | 103 | Say Y here if you have a serial (RS-232, COM port) mouse connected |
104 | to your system. This includes Sun, MouseSystems, Microsoft, | 104 | to your system. This includes Sun, MouseSystems, Microsoft, |
105 | Logitech and all other compatible serial mice. | 105 | Logitech and all other compatible serial mice. |
@@ -109,6 +109,26 @@ config MOUSE_SERIAL | |||
109 | To compile this driver as a module, choose M here: the | 109 | To compile this driver as a module, choose M here: the |
110 | module will be called sermouse. | 110 | module will be called sermouse. |
111 | 111 | ||
112 | config MOUSE_APPLETOUCH | ||
113 | tristate "Apple USB Touchpad support" | ||
114 | select USB | ||
115 | help | ||
116 | Say Y here if you want to use an Apple USB Touchpad. | ||
117 | |||
118 | These are the touchpads that can be found on post-February 2005 | ||
119 | Apple Powerbooks (prior models have a Synaptics touchpad connected | ||
120 | to the ADB bus). | ||
121 | |||
122 | This driver provides a basic mouse driver but can be interfaced | ||
123 | with the synaptics X11 driver to provide acceleration and | ||
124 | scrolling in X11. | ||
125 | |||
126 | For further information, see | ||
127 | <file:Documentation/input/appletouch.txt>. | ||
128 | |||
129 | To compile this driver as a module, choose M here: the | ||
130 | module will be called appletouch. | ||
131 | |||
112 | config MOUSE_INPORT | 132 | config MOUSE_INPORT |
113 | tristate "InPort/MS/ATIXL busmouse" | 133 | tristate "InPort/MS/ATIXL busmouse" |
114 | depends on ISA | 134 | depends on ISA |
diff --git a/drivers/input/mouse/Makefile b/drivers/input/mouse/Makefile index 6a8f622927f2..aa4ba878533f 100644 --- a/drivers/input/mouse/Makefile +++ b/drivers/input/mouse/Makefile | |||
@@ -5,6 +5,7 @@ | |||
5 | # Each configuration option enables a list of files. | 5 | # Each configuration option enables a list of files. |
6 | 6 | ||
7 | obj-$(CONFIG_MOUSE_AMIGA) += amimouse.o | 7 | obj-$(CONFIG_MOUSE_AMIGA) += amimouse.o |
8 | obj-$(CONFIG_MOUSE_APPLETOUCH) += appletouch.o | ||
8 | obj-$(CONFIG_MOUSE_ATARI) += atarimouse.o | 9 | obj-$(CONFIG_MOUSE_ATARI) += atarimouse.o |
9 | obj-$(CONFIG_MOUSE_RISCPC) += rpcmouse.o | 10 | obj-$(CONFIG_MOUSE_RISCPC) += rpcmouse.o |
10 | obj-$(CONFIG_MOUSE_INPORT) += inport.o | 11 | obj-$(CONFIG_MOUSE_INPORT) += inport.o |
diff --git a/drivers/usb/input/appletouch.c b/drivers/input/mouse/appletouch.c index e3215267db11..e3215267db11 100644 --- a/drivers/usb/input/appletouch.c +++ b/drivers/input/mouse/appletouch.c | |||
diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig index 19228780ed84..4959dcf3cb4d 100644 --- a/drivers/usb/input/Kconfig +++ b/drivers/usb/input/Kconfig | |||
@@ -75,23 +75,3 @@ config USB_KEYSPAN_REMOTE | |||
75 | 75 | ||
76 | To compile this driver as a module, choose M here: the module will | 76 | To compile this driver as a module, choose M here: the module will |
77 | be called keyspan_remote. | 77 | be called keyspan_remote. |
78 | |||
79 | config USB_APPLETOUCH | ||
80 | tristate "Apple USB Touchpad support" | ||
81 | depends on USB && INPUT | ||
82 | ---help--- | ||
83 | Say Y here if you want to use an Apple USB Touchpad. | ||
84 | |||
85 | These are the touchpads that can be found on post-February 2005 | ||
86 | Apple Powerbooks (prior models have a Synaptics touchpad connected | ||
87 | to the ADB bus). | ||
88 | |||
89 | This driver provides a basic mouse driver but can be interfaced | ||
90 | with the synaptics X11 driver to provide acceleration and | ||
91 | scrolling in X11. | ||
92 | |||
93 | For further information, see | ||
94 | <file:Documentation/input/appletouch.txt>. | ||
95 | |||
96 | To compile this driver as a module, choose M here: the | ||
97 | module will be called appletouch. | ||
diff --git a/drivers/usb/input/Makefile b/drivers/usb/input/Makefile index d2cbb0ec7963..91df130909e6 100644 --- a/drivers/usb/input/Makefile +++ b/drivers/usb/input/Makefile | |||
@@ -7,7 +7,6 @@ obj-$(CONFIG_USB_ATI_REMOTE2) += ati_remote2.o | |||
7 | obj-$(CONFIG_USB_KEYSPAN_REMOTE) += keyspan_remote.o | 7 | obj-$(CONFIG_USB_KEYSPAN_REMOTE) += keyspan_remote.o |
8 | obj-$(CONFIG_USB_POWERMATE) += powermate.o | 8 | obj-$(CONFIG_USB_POWERMATE) += powermate.o |
9 | obj-$(CONFIG_USB_YEALINK) += yealink.o | 9 | obj-$(CONFIG_USB_YEALINK) += yealink.o |
10 | obj-$(CONFIG_USB_APPLETOUCH) += appletouch.o | ||
11 | 10 | ||
12 | ifeq ($(CONFIG_USB_DEBUG),y) | 11 | ifeq ($(CONFIG_USB_DEBUG),y) |
13 | EXTRA_CFLAGS += -DDEBUG | 12 | EXTRA_CFLAGS += -DDEBUG |