summaryrefslogtreecommitdiff
path: root/ps2_mouse.h
diff options
context:
space:
mode:
authortmk2011-01-04 20:30:23 +0900
committertmk2011-01-04 20:30:23 +0900
commit7272c65d3d24187487e7d38e332401002f5f233b (patch)
treecd098c31eff384ce8d448c825620e55bb54e3df6 /ps2_mouse.h
parent2a562a4191a5b9e88731efb5eabd921821f25f7e (diff)
add error handling to ps2_mouse
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 f590f3ad5..6efdf45fb 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);