summaryrefslogtreecommitdiff
path: root/src/mtouch.h
blob: d036a8f7d67a9293fae09a0735407313eeb6ad28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MTOUCH_H
#define MTOUCH_H

#include "capabilities.h"
#include "hwdata.h"

////////////////////////////////////////////////////////

struct MTouch {
	struct Capabilities caps;
	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);

////////////////////////////////////////////////////////

#endif