1
0
Fork 0

add build option: NKRO_ENABLE(remove: USB_12KRO)

This commit is contained in:
tmk 2010-12-08 01:47:57 +09:00
parent 66ece29b0e
commit 51f17f0231
12 changed files with 413 additions and 259 deletions

View file

@ -59,8 +59,10 @@ int8_t usb_mouse_move(int8_t x, int8_t y, int8_t wheel, int8_t hwheel)
UEDATX = mouse_buttons;
UEDATX = x;
UEDATX = y;
UEDATX = wheel;
UEDATX = hwheel;
if (mouse_protocol) {
UEDATX = wheel;
UEDATX = hwheel;
}
UEINTX = 0x3A;
SREG = intr_state;