summaryrefslogtreecommitdiff
path: root/include/utouch/frame-mtdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utouch/frame-mtdev.h')
-rw-r--r--include/utouch/frame-mtdev.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/utouch/frame-mtdev.h b/include/utouch/frame-mtdev.h
new file mode 100644
index 0000000..f3957b9
--- /dev/null
+++ b/include/utouch/frame-mtdev.h
@@ -0,0 +1,39 @@
1/*****************************************************************************
2 *
3 * utouch-frame - Touch Frame Library
4 *
5 * Copyright (C) 2010-2011 Canonical Ltd.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 ****************************************************************************/
21
22#ifndef _UTOUCH_FRAME_MTDEV_H
23#define _UTOUCH_FRAME_MTDEV_H
24
25#define MTDEV_NO_LEGACY_API
26
27#include <utouch/frame.h>
28#include <evemu.h>
29#include <mtdev.h>
30
31int utouch_frame_is_supported_mtdev(const struct evemu_device *dev);
32
33int utouch_frame_init_mtdev(utouch_frame_handle fh,
34 const struct evemu_device *dev);
35
36const struct utouch_frame *
37utouch_frame_pump_mtdev(utouch_frame_handle fh, const struct input_event *ev);
38
39#endif