diff options
Diffstat (limited to 'protocol/serial_mouse.h')
| -rw-r--r-- | protocol/serial_mouse.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/protocol/serial_mouse.h b/protocol/serial_mouse.h new file mode 100644 index 000000000..226314fc0 --- /dev/null +++ b/protocol/serial_mouse.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2014 Robin Haberkorn <robin.haberkorn@googlemail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef SERIAL_MOUSE_H | ||
| 19 | #define SERIAL_MOUSE_H | ||
| 20 | |||
| 21 | #include <stdint.h> | ||
| 22 | |||
| 23 | #include "serial.h" | ||
| 24 | |||
| 25 | static inline uint8_t serial_mouse_init(void) | ||
| 26 | { | ||
| 27 | serial_init(); | ||
| 28 | return 0; | ||
| 29 | } | ||
| 30 | |||
| 31 | void serial_mouse_task(void); | ||
| 32 | |||
| 33 | #endif | ||
