diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2007-07-03 01:55:03 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 00:35:18 -0400 |
commit | df561fcd445c9cf9f4fff98ea795a0e72b7dc1e1 (patch) | |
tree | acf33fa9b0b363af9cefb2837c39c5ec88ad7ae7 /drivers/input/touchscreen/Kconfig | |
parent | 1e2831db01c0726ec046e69719a10d7696b283fb (diff) |
Input: usbtouchscreen - add support for IRTOUCHSYSTEMS touchscreens
This patch adds support for IRTOUCHSYSTEMS (or UNITOP) infrared touchscreens.
The touchscreen sends data in 8-byte packets.
BYTE 0 - unknown meaning, seen only one value: 0x54
BYTE 1 - unknown meaning, 3 lowest bits indicate touch state
values seen: 0x81, 0x82 or 0x83
bit 0 = set if the screen is touched and was not touched before (touch
bit 1 = set if the screen is touched and was touched (dragging)
bit 2 = set if the touch was ended (release)
BYTES 2 and 3 - X position, high-order-byte first, range = 0 to 0x0FFF
BYTES 4 and 5 - Y position, high-order-byte first, range = 0 to 0x0FFF
BYTE 6 - unknown meaning, seen only one value: 0xFF
BYTE 7 - unknown meaning, seen only one value: 0x00
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/Kconfig')
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index e5cca9bd0406..69371779806a 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig | |||
@@ -177,6 +177,7 @@ config TOUCHSCREEN_USB_COMPOSITE | |||
177 | - some other eTurboTouch | 177 | - some other eTurboTouch |
178 | - Gunze AHL61 | 178 | - Gunze AHL61 |
179 | - DMC TSC-10/25 | 179 | - DMC TSC-10/25 |
180 | - IRTOUCHSYSTEMS/UNITOP | ||
180 | 181 | ||
181 | Have a look at <http://linux.chapter7.ch/touchkit/> for | 182 | Have a look at <http://linux.chapter7.ch/touchkit/> for |
182 | a usage description and the required user-space stuff. | 183 | a usage description and the required user-space stuff. |
@@ -219,4 +220,9 @@ config TOUCHSCREEN_USB_DMC_TSC10 | |||
219 | bool "DMC TSC-10/25 device support" if EMBEDDED | 220 | bool "DMC TSC-10/25 device support" if EMBEDDED |
220 | depends on TOUCHSCREEN_USB_COMPOSITE | 221 | depends on TOUCHSCREEN_USB_COMPOSITE |
221 | 222 | ||
223 | config TOUCHSCREEN_USB_IRTOUCH | ||
224 | default y | ||
225 | bool "IRTOUCHSYSTEMS/UNITOP device support" if EMBEDDED | ||
226 | depends on TOUCHSCREEN_USB_COMPOSITE | ||
227 | |||
222 | endif | 228 | endif |