aboutsummaryrefslogtreecommitdiff
path: root/protocol/serial_mouse.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-07-27 16:23:23 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-07-27 16:23:23 +0200
commit6bf8000e6322da88f91f7eb53f510c2ba72743e5 (patch)
treec60d1659baa463fd12335ea229174a5f9ccd0398 /protocol/serial_mouse.h
parent79840c678e13f9a737f80048bc3b9c9c55e3fc77 (diff)
downloadqmk_firmware-6bf8000e6322da88f91f7eb53f510c2ba72743e5.tar.gz
qmk_firmware-6bf8000e6322da88f91f7eb53f510c2ba72743e5.zip
added serial mouse driver for Microsoft and Mousesystems mice
* Both drivers use the interface defined in serial_mouse.h * They should work with any UART implementation (hardware/software UART) * The Microsoft driver is currently untested. The Mousesystems driver is confirmed to work.
Diffstat (limited to 'protocol/serial_mouse.h')
-rw-r--r--protocol/serial_mouse.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/protocol/serial_mouse.h b/protocol/serial_mouse.h
new file mode 100644
index 000000000..c3c19d769
--- /dev/null
+++ b/protocol/serial_mouse.h
@@ -0,0 +1,26 @@
1/*
2Copyright 2011 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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
23uint8_t serial_mouse_init(void);
24void serial_mouse_task(void);
25
26#endif