diff options
author | tmk <nobody@nowhere> | 2010-10-26 21:32:45 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-26 21:32:45 +0900 |
commit | 461e0d3d8c82cc78d29d3115af3c417bb51bb50f (patch) | |
tree | 844b28eed904f72aa18873f25de435379fa1bad3 /usb_mouse.h | |
parent | 7a336b05ec2d1056fe2206ae218199c66e8980da (diff) |
ADD: keymap macro for human to read easier
ADD: controller.h for controller board definition(teensy)
ADD: debug toggle
Diffstat (limited to 'usb_mouse.h')
-rw-r--r-- | usb_mouse.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usb_mouse.h b/usb_mouse.h index b62dde13d7..da975c2626 100644 --- a/usb_mouse.h +++ b/usb_mouse.h @@ -11,6 +11,13 @@ #define MOUSE_SIZE 8 #define MOUSE_BUFFER EP_DOUBLE_BUFFER +#define BIT_BTN1 (1<<0) +#define BIT_BTN2 (1<<1) +#define BIT_BTN3 (1<<2) +#define BIT_BTN4 (1<<3) +#define BIT_BTN5 (1<<4) + + extern uint8_t mouse_buttons; extern uint8_t mouse_protocol; |