diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-12-30 17:58:01 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-12-30 17:58:01 +0100 |
| commit | f0aba58c91933a4702a7cc74f7daf4192868f570 (patch) | |
| tree | 648c41fe09adb72344769dd6242638cbad835482 /include/utouch/frame-mtdev.h | |
Initial load of utouch-framev1.0.0
Compiles and runs on mtdev. ABI proof.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/utouch/frame-mtdev.h')
| -rw-r--r-- | include/utouch/frame-mtdev.h | 39 |
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 | |||
| 31 | int utouch_frame_is_supported_mtdev(const struct evemu_device *dev); | ||
| 32 | |||
| 33 | int utouch_frame_init_mtdev(utouch_frame_handle fh, | ||
| 34 | const struct evemu_device *dev); | ||
| 35 | |||
| 36 | const struct utouch_frame * | ||
| 37 | utouch_frame_pump_mtdev(utouch_frame_handle fh, const struct input_event *ev); | ||
| 38 | |||
| 39 | #endif | ||
