blob: 5edc6e58adc83f60dd6d1c400e09450fa883a01b (
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
28
|
#ifndef MTOUCH_H
#define MTOUCH_H
#include "capabilities.h"
#include "iobuffer.h"
#include "hwdata.h"
#include "state.h"
////////////////////////////////////////////////////////
struct MTouch {
struct Capabilities caps;
struct IOBuffer buf;
struct HWData hw;
struct State os, ns;
};
////////////////////////////////////////////////////////
int configure_mtouch(struct MTouch *mt, int fd);
int open_mtouch(struct MTouch *mt, int fd);
int close_mtouch(struct MTouch *mt, int fd);
bool read_synchronized_event(struct MTouch *mt, int fd);
////////////////////////////////////////////////////////
#endif
|