diff options
author | tmk <nobody@nowhere> | 2011-01-04 20:30:23 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-01-04 20:30:23 +0900 |
commit | 7272c65d3d24187487e7d38e332401002f5f233b (patch) | |
tree | cd098c31eff384ce8d448c825620e55bb54e3df6 /ps2_mouse.h | |
parent | 2a562a4191a5b9e88731efb5eabd921821f25f7e (diff) |
add error handling to ps2_mouse
Diffstat (limited to 'ps2_mouse.h')
-rw-r--r-- | ps2_mouse.h | 5 |
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); |