Out-of-office display, GFX
 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 
25 #ifndef _FT5X06_H
26 #define _FT5X06_H
27 
31 #define FT5X06_I2C_ADDR 0x38
32 
55 };
56 
61 {
76 };
77 
87 struct touchCoor
88 {
90  unsigned int x;
92  unsigned int y;
95 };
96 
104 struct touchInfo
105 {
107  unsigned char gesture;
109  unsigned char numPoints;
116  struct touchCoor points[ 5 ];
117 };
118 
126 void ft5x06_queryTouchInfo( int numPoints );
127 
132 {
149 };
150 
163 
164 #endif // _FT5X06_H
165