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/char | |
parent | 1e2831db01c0726ec046e69719a10d7696b283fb (diff) | |
download | blackbird-op-linux-df561fcd445c9cf9f4fff98ea795a0e72b7dc1e1.tar.gz blackbird-op-linux-df561fcd445c9cf9f4fff98ea795a0e72b7dc1e1.zip |
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/char')
0 files changed, 0 insertions, 0 deletions