Skip to content

Commit d05e84e

Browse files
author
Dmitry Torokhov
committed
Input: move USB touchscreens under drivers/input/touchscreen
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>
1 parent 4104d13 commit d05e84e

6 files changed

Lines changed: 66 additions & 67 deletions

File tree

‎drivers/input/touchscreen/Kconfig‎

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Mouse driver configuration
2+
# Touchscreen driver configuration
33
#
44
menuconfig INPUT_TOUCHSCREEN
55
bool "Touchscreens"
@@ -44,9 +44,9 @@ config TOUCHSCREEN_BITSY
4444
config TOUCHSCREEN_CORGI
4545
tristate "SharpSL (Corgi and Spitz series) touchscreen driver"
4646
depends on PXA_SHARPSL
47-
default y
47+
default y
4848
help
49-
Say Y here to enable the driver for the touchscreen on the
49+
Say Y here to enable the driver for the touchscreen on the
5050
Sharp SL-C7xx and SL-Cxx00 series of PDAs.
5151

5252
If unsure, say N.
@@ -164,4 +164,58 @@ config TOUCHSCREEN_UCB1400
164164
To compile this driver as a module, choose M here: the
165165
module will be called ucb1400_ts.
166166

167+
config TOUCHSCREEN_USB_COMPOSITE
168+
tristate "USB Touchscreen Driver"
169+
select USB
170+
help
171+
USB Touchscreen driver for:
172+
- eGalax Touchkit USB (also includes eTurboTouch CT-410/510/700)
173+
- PanJit TouchSet USB
174+
- 3M MicroTouch USB (EX II series)
175+
- ITM
176+
- some other eTurboTouch
177+
- Gunze AHL61
178+
- DMC TSC-10/25
179+
180+
Have a look at <http://linux.chapter7.ch/touchkit/> for
181+
a usage description and the required user-space stuff.
182+
183+
To compile this driver as a module, choose M here: the
184+
module will be called usbtouchscreen.
185+
186+
config TOUCHSCREEN_USB_EGALAX
187+
default y
188+
bool "eGalax, eTurboTouch CT-410/510/700 device support" if EMBEDDED
189+
depends on TOUCHSCREEN_USB_COMPOSITE
190+
191+
config TOUCHSCREEN_USB_PANJIT
192+
default y
193+
bool "PanJit device support" if EMBEDDED
194+
depends on TOUCHSCREEN_USB_COMPOSITE
195+
196+
config TOUCHSCREEN_USB_3M
197+
default y
198+
bool "3M/Microtouch EX II series device support" if EMBEDDED
199+
depends on TOUCHSCREEN_USB_COMPOSITE
200+
201+
config TOUCHSCREEN_USB_ITM
202+
default y
203+
bool "ITM device support" if EMBEDDED
204+
depends on TOUCHSCREEN_USB_COMPOSITE
205+
206+
config TOUCHSCREEN_USB_ETURBO
207+
default y
208+
bool "eTurboTouch (non-eGalax compatible) device support" if EMBEDDED
209+
depends on TOUCHSCREEN_USB_COMPOSITE
210+
211+
config TOUCHSCREEN_USB_GUNZE
212+
default y
213+
bool "Gunze AHL61 device support" if EMBEDDED
214+
depends on TOUCHSCREEN_USB_COMPOSITE
215+
216+
config TOUCHSCREEN_USB_DMC_TSC10
217+
default y
218+
bool "DMC TSC-10/25 device support" if EMBEDDED
219+
depends on TOUCHSCREEN_USB_COMPOSITE
220+
167221
endif

‎drivers/input/touchscreen/Makefile‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#
2-
# Makefile for the mouse drivers.
2+
# Makefile for the touchscreen drivers.
33
#
44

55
# Each configuration option enables a list of files.
66

77
obj-$(CONFIG_TOUCHSCREEN_ADS7846) += ads7846.o
8-
obj-$(CONFIG_TOUCHSCREEN_BITSY) += h3600_ts_input.o
9-
obj-$(CONFIG_TOUCHSCREEN_CORGI) += corgi_ts.o
10-
obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o
11-
obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o
12-
obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o
13-
obj-$(CONFIG_TOUCHSCREEN_MK712) += mk712.o
14-
obj-$(CONFIG_TOUCHSCREEN_HP600) += hp680_ts_input.o
8+
obj-$(CONFIG_TOUCHSCREEN_BITSY) += h3600_ts_input.o
9+
obj-$(CONFIG_TOUCHSCREEN_CORGI) += corgi_ts.o
10+
obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o
11+
obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o
12+
obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o
13+
obj-$(CONFIG_TOUCHSCREEN_MK712) += mk712.o
14+
obj-$(CONFIG_TOUCHSCREEN_HP600) += hp680_ts_input.o
15+
obj-$(CONFIG_TOUCHSCREEN_USB_COMPOSITE) += usbtouchscreen.o
1516
obj-$(CONFIG_TOUCHSCREEN_PENMOUNT) += penmount.o
1617
obj-$(CONFIG_TOUCHSCREEN_TOUCHRIGHT) += touchright.o
1718
obj-$(CONFIG_TOUCHSCREEN_TOUCHWIN) += touchwin.o
File renamed without changes.

‎drivers/usb/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ obj-$(CONFIG_USB_STORAGE) += storage/
2424
obj-$(CONFIG_USB) += storage/
2525

2626
obj-$(CONFIG_USB_ATI_REMOTE) += input/
27-
obj-$(CONFIG_USB_MTOUCH) += input/
2827
obj-$(CONFIG_USB_POWERMATE) += input/
2928
obj-$(CONFIG_USB_XPAD) += input/
3029

‎drivers/usb/input/Kconfig‎

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -19,60 +19,6 @@ config USB_POWERMATE
1919
To compile this driver as a module, choose M here: the
2020
module will be called powermate.
2121

22-
config USB_TOUCHSCREEN
23-
tristate "USB Touchscreen Driver"
24-
depends on USB && INPUT
25-
---help---
26-
USB Touchscreen driver for:
27-
- eGalax Touchkit USB (also includes eTurboTouch CT-410/510/700)
28-
- PanJit TouchSet USB
29-
- 3M MicroTouch USB (EX II series)
30-
- ITM
31-
- some other eTurboTouch
32-
- Gunze AHL61
33-
- DMC TSC-10/25
34-
35-
Have a look at <http://linux.chapter7.ch/touchkit/> for
36-
a usage description and the required user-space stuff.
37-
38-
To compile this driver as a module, choose M here: the
39-
module will be called usbtouchscreen.
40-
41-
config USB_TOUCHSCREEN_EGALAX
42-
default y
43-
bool "eGalax, eTurboTouch CT-410/510/700 device support" if EMBEDDED
44-
depends on USB_TOUCHSCREEN
45-
46-
config USB_TOUCHSCREEN_PANJIT
47-
default y
48-
bool "PanJit device support" if EMBEDDED
49-
depends on USB_TOUCHSCREEN
50-
51-
config USB_TOUCHSCREEN_3M
52-
default y
53-
bool "3M/Microtouch EX II series device support" if EMBEDDED
54-
depends on USB_TOUCHSCREEN
55-
56-
config USB_TOUCHSCREEN_ITM
57-
default y
58-
bool "ITM device support" if EMBEDDED
59-
depends on USB_TOUCHSCREEN
60-
61-
config USB_TOUCHSCREEN_ETURBO
62-
default y
63-
bool "eTurboTouch (non-eGalax compatible) device support" if EMBEDDED
64-
depends on USB_TOUCHSCREEN
65-
66-
config USB_TOUCHSCREEN_GUNZE
67-
default y
68-
bool "Gunze AHL61 device support" if EMBEDDED
69-
depends on USB_TOUCHSCREEN
70-
71-
config USB_TOUCHSCREEN_DMC_TSC10
72-
default y
73-
bool "DMC TSC-10/25 device support" if EMBEDDED
74-
depends on USB_TOUCHSCREEN
75-
7622
config USB_YEALINK
7723
tristate "Yealink usb-p1k voip phone"
7824
depends on USB && INPUT && EXPERIMENTAL

‎drivers/usb/input/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
obj-$(CONFIG_USB_ATI_REMOTE) += ati_remote.o
66
obj-$(CONFIG_USB_ATI_REMOTE2) += ati_remote2.o
77
obj-$(CONFIG_USB_KEYSPAN_REMOTE) += keyspan_remote.o
8-
obj-$(CONFIG_USB_TOUCHSCREEN) += usbtouchscreen.o
98
obj-$(CONFIG_USB_POWERMATE) += powermate.o
109
obj-$(CONFIG_USB_YEALINK) += yealink.o
1110
obj-$(CONFIG_USB_XPAD) += xpad.o

0 commit comments

Comments
 (0)