add horizontal mouse wheel

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

No files matched your search

+2 -1
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;