User manual

mTouch™ AR1100 User’s Guide
DS41604A-page 20 2011 Microchip Technology Inc.
3.3.2 Mode: HID-MOUSE
The USB ‘report’ format is given below:
As seen in Table 3-2 above, the AR1100 Touch Screen Controller Board provides flex-
ibility to the ‘Button 1’ field in the HID-MOUSE touch report. The value of ‘Button 1’ and
the touch reports issued in reaction to touch events is dictated by the operational
parameter, TouchMode, (described in the AR1100 Resistive USB and RS-232 Touch
Screen Controller data sheet, DS41606). In the summary below, touch report field “P”
(pen) corresponds to ‘Button 1’.
3.3.2.1 SUMMARY OF PARAMETER: TouchMode
In reaction to each touch state/event, the AR1100 issues 0,1,2 or 3 touch reports with
pen state “P” (a 1-bit field) set as described below.
TABLE 3-2: TOUCH REPORT FORMAT – MOUSE
BYTE
BIT
7654321 0
1 0 0 0 0 0 B3 B2 B1
2X7X6X5X4X3X2X1X0
30 000 X11X10X9X8
4Y7Y6Y5Y4Y3Y2Y1Y0
50 000 Y11Y10Y9Y8
Note 1: B1 Button 1 depressed (configurable, reacts to touch event/state (see
the description below)
B2 Button 2 depressed (always 0)
B3 Button 3 depressed (always 0)
X X ordinate of touch location (12 bits)
Y Y ordinate of touch location (12 bits)
TouchMode[7:5] = PD[2:0] Response to event PD (PEN/TOUCH DOWN)
b000 No touch report issued in response to the event
b001 Touch report w/ P=0
b010 Touch report w/ P=1
b011 Touch report w/ P=1, then Touch report w/ P=0
b100 Touch report w/ P=0, then Touch report w/ P=1, then Touch report w/ P=0
b101 Touch report w/ P=0, then Touch report w/ P=1
TouchMode[4:3] = PM[1:0] Response to event PM (PEN/TOUCH MOVEMENT)
b000 No touch report issued in response to the event
b001 Touch report w/ P=0
b010 Touch report w/ P=1