aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/Kconfig
diff options
context:
space:
mode:
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>2006-03-29 15:41:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-14 14:12:21 -0400
commit1d3e20236d7a5678d44602171bbd153c57c8c4bc (patch)
tree67aeb481e5d85f6af2cd6b1d7a1f2756c759c248 /drivers/usb/input/Kconfig
parent62a13db346bb6ef80c112d373733d3e873dad90b (diff)
[PATCH] USB: usbtouchscreen: unified USB touchscreen driver
A new single driver for various USB touchscreen devices. It currently supports: - eGalax TouchKit - PanJit TouchSet - 3M/Microtouch - ITM Touchscreens Support for the diffent devices can be enabled/disable when CONFIG_EMBEDDED is set. Sizes for comparision: text data bss dec hex filename 2942 724 4 3670 e56 touchkitusb.ko 2647 660 0 3307 ceb mtouchusb.ko 2448 628 0 3076 c04 itmtouch.ko 4145 1012 12 5169 1431 usbtouchscreen.ko Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/input/Kconfig')
-rw-r--r--drivers/usb/input/Kconfig42
1 files changed, 39 insertions, 3 deletions
diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
index 5246b35301d..83b90be7fa0 100644
--- a/drivers/usb/input/Kconfig
+++ b/drivers/usb/input/Kconfig
@@ -200,9 +200,45 @@ config USB_POWERMATE
200 To compile this driver as a module, choose M here: the 200 To compile this driver as a module, choose M here: the
201 module will be called powermate. 201 module will be called powermate.
202 202
203config USB_TOUCHSCREEN
204 tristate "USB Touchscreen Driver"
205 depends on USB && INPUT
206 ---help---
207 USB Touchscreen driver for:
208 - eGalax Touchkit USB
209 - PanJit TouchSet USB
210 - 3M MicroTouch USB
211 - ITM
212
213 Have a look at <http://linux.chapter7.ch/touchkit/> for
214 a usage description and the required user-space stuff.
215
216 To compile this driver as a module, choose M here: the
217 module will be called usbtouchscreen.
218
219config USB_TOUCHSCREEN_EGALAX
220 default y
221 bool "eGalax device support" if EMBEDDED
222 depends on USB_TOUCHSCREEN
223
224config USB_TOUCHSCREEN_PANJIT
225 default y
226 bool "PanJit device support" if EMBEDDED
227 depends on USB_TOUCHSCREEN
228
229config USB_TOUCHSCREEN_3M
230 default y
231 bool "3M/Microtouch device support" if EMBEDDED
232 depends on USB_TOUCHSCREEN
233
234config USB_TOUCHSCREEN_ITM
235 default y
236 bool "ITM device support" if EMBEDDED
237 depends on USB_TOUCHSCREEN
238
203config USB_MTOUCH 239config USB_MTOUCH
204 tristate "MicroTouch USB Touchscreen Driver" 240 tristate "MicroTouch USB Touchscreen Driver"
205 depends on USB && INPUT 241 depends on USB && INPUT && !USB_TOUCHSCREEN_3M
206 ---help--- 242 ---help---
207 Say Y here if you want to use a MicroTouch (Now 3M) USB 243 Say Y here if you want to use a MicroTouch (Now 3M) USB
208 Touchscreen controller. 244 Touchscreen controller.
@@ -214,7 +250,7 @@ config USB_MTOUCH
214 250
215config USB_ITMTOUCH 251config USB_ITMTOUCH
216 tristate "ITM Touch USB Touchscreen Driver" 252 tristate "ITM Touch USB Touchscreen Driver"
217 depends on USB && INPUT 253 depends on USB && INPUT && !USB_TOUCHSCREEN_ITM
218 ---help--- 254 ---help---
219 Say Y here if you want to use a ITM Touch USB 255 Say Y here if you want to use a ITM Touch USB
220 Touchscreen controller. 256 Touchscreen controller.
@@ -226,7 +262,7 @@ config USB_ITMTOUCH
226 262
227config USB_EGALAX 263config USB_EGALAX
228 tristate "eGalax TouchKit USB Touchscreen Driver" 264 tristate "eGalax TouchKit USB Touchscreen Driver"
229 depends on USB && INPUT 265 depends on USB && INPUT && !USB_TOUCHSCREEN_EGALAX
230 ---help--- 266 ---help---
231 Say Y here if you want to use a eGalax TouchKit USB 267 Say Y here if you want to use a eGalax TouchKit USB
232 Touchscreen controller. 268 Touchscreen controller.