blob: 8324e9ed21869511c02824904cfd11fcf22758b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef MTOUCH_H
#define MTOUCH_H
#include "capabilities.h"
#include "iobuffer.h"
#include "hwdata.h"
////////////////////////////////////////////////////////
struct MTouch {
struct Capabilities caps;
struct IOBuffer buf;
struct HWData hw;
bool grabbed;
};
////////////////////////////////////////////////////////
int configure_mtouch(struct MTouch *mt, int fd);
int open_mtouch(struct MTouch *mt, int fd);
void close_mtouch(struct MTouch *mt, int fd);
bool read_synchronized_event(struct MTouch *mt, int fd);
////////////////////////////////////////////////////////
#endif
|