PIC software documentation
 All Classes Files Functions Variables Enumerations Enumerator Groups
ft5x06.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Andreas Misje
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
39 #ifndef FT5X06_H
40 #define FT5X06_H
41 
45 #define FT5X06_I2C_ADDR 0x38
46 
69 };
70 
75 {
90 };
91 
101 struct touchCoor
102 {
104  unsigned int x;
106  unsigned int y;
109 };
110 
118 struct touchInfo
119 {
121  unsigned char gesture;
123  unsigned char numPoints;
130  struct touchCoor points[ 5 ];
131 };
132 
140 void ft5x06_queryTouchInfo( int numPoints );
141 
146 {
163 };
164 
177 
178 #endif // FT5X06_H
179