summaryrefslogtreecommitdiffstats
path: root/usb_mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'usb_mouse.h')
-rw-r--r--usb_mouse.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usb_mouse.h b/usb_mouse.h
index 81edabcbfb..b62dde13d7 100644
--- a/usb_mouse.h
+++ b/usb_mouse.h
@@ -2,6 +2,7 @@
#define USB_MOUSE_H 1
#include <stdint.h>
+#include <stdbool.h>
#include "usb.h"
@@ -16,5 +17,8 @@ extern uint8_t mouse_protocol;
int8_t usb_mouse_buttons(uint8_t left, uint8_t middle, uint8_t right);
int8_t usb_mouse_move(int8_t x, int8_t y, int8_t wheel, int8_t hwheel);
+void usb_mouse_clear(void);
+bool usb_mouse_is_sent(void);
+void usb_mouse_print(int8_t mouse_x, int8_t mouse_y, int8_t wheel_v, int8_t wheel_h);
#endif