3M M2256PW manual Receiving Reports from the Controller, Command Set, Set Feature - Calibration

Models: M2256PW

1 41
Download 41 pages 62.21 Kb
Page 22
Image 22
Receiving Reports from the Controller

22

3M™ Multi-touch Display M2256PW User Guide

synchronous report in response to some of these requests.

You need to know product ID (0502H) and the vendor ID (0596H) to write your own driver. These values are required for identifying the controller.

Receiving Reports from the Controller

The controller sends a variety of reports to the computer. The first byte of each report is the Report ID that defines the structure and content of the report. The controller sends some reports as a direct response to a computer request (synchronous). The controller will also send some reports as the result of an external event, such as a touch (asynchronous).

Command Set

The USB command set is implemented by using HID Get Feature and Set Feature commands. The various requests and reports are grouped together by report size under a common feature ID.

HID Class Requests

The following table summarizes the available HID class requests.

Table 1. HID Class Requests Summary

 

HID Report

 

Command

 

bmRequest

 

 

bRequest

 

Feature

 

Report

Data

 

 

 

 

 

 

 

 

 

 

Name

 

Type

 

 

 

 

Report ID

 

Subtype

Stage

 

 

 

 

 

 

 

 

 

 

 

 

 

Bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Get Feature

GetStatus

0xA1 (D2H)

0x01

 

0x06

--

8

 

Set Feature

Calibrate

0x21 (H2D)

0x09

0x03

4

8

 

Set Feature

Reset

0x21 (H2D)

0x09

 

0x03

7

8

 

Set Feature

Restore Defaults

0x21 (H2D)

0x09

0x03

8

8

 

Get Feature

GetMaxCount

0xA1 (D2H)

 

0x01

 

0x12

--

2

Set Feature - Calibration

This is a command to do a Calibrate Extended style calibration. The controller will auto- orient on this 2 point calibration.

3M Touch Systems, Inc. Proprietary Information – 37531 Rev D

Page 22
Image 22
3M M2256PW manual Receiving Reports from the Controller, Command Set, Set Feature - Calibration, HID Class Requests