hhkb: refactored

This commit is contained in:
tmk 2010-10-24 01:17:26 +09:00
parent 9d7979931e
commit 06eb50be07
16 changed files with 354 additions and 217 deletions

View file

@ -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