# Documentation of the MLV-1.2.1 library

- Presentation
- Downloads
- Installation
- Compilation
- Examples
- API
- List of functions
- bugs
- FAQ
- contacts

MLV_device_with_buttons.h
1 /*
2 * This file is part of the MLV Library.
3 *
4 * Copyright (C) 2012 Adrien Boussicault, Marc Zipstein
5 *
6 *
7 * This Library is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This Library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this Library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
33 #ifndef __MLV__MLV_DEVICE_WITH_BUTTONS_H__
34 #define __MLV__MLV_DEVICE_WITH_BUTTONS_H__
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
43 typedef enum {
44 MLV_PRESSED,
45 MLV_RELEASED
46 } MLV_Button_state;
47
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif