summaryrefslogtreecommitdiffstats
path: root/ps2_mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'ps2_mouse.h')
-rw-r--r--ps2_mouse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ps2_mouse.h b/ps2_mouse.h
index f590f3ad5d..6efdf45fbf 100644
--- a/ps2_mouse.h
+++ b/ps2_mouse.h
@@ -12,13 +12,14 @@
#define PS2_MOUSE_X_OVFLW 6
#define PS2_MOUSE_Y_OVFLW 7
+bool ps2_mouse_enable;
extern uint8_t ps2_mouse_x;
extern uint8_t ps2_mouse_y;
extern uint8_t ps2_mouse_btn;
extern uint8_t ps2_mouse_error_count;
-void ps2_mouse_init(void);
-void ps2_mouse_read(void);
+uint8_t ps2_mouse_init(void);
+uint8_t ps2_mouse_read(void);
bool ps2_mouse_changed(void);
void ps2_mouse_usb_send(void);
void ps2_mouse_print(void);