add horizontal mouse wheel

This commit is contained in:
tmk 2010-10-13 22:45:22 +09:00
parent 34a90769c9
commit 82637ded27
4 changed files with 75 additions and 177 deletions

View file

@ -56,7 +56,8 @@ int8_t usb_mouse_move(int8_t x, int8_t y, int8_t wheel, int8_t hwheel)
UEDATX = x;
UEDATX = y;
UEDATX = wheel;
//UEDATX = hwheel;
UEDATX = hwheel;
UEINTX = 0x3A;
SREG = intr_state;
return 0;