summaryrefslogtreecommitdiffstats
path: root/usb_mouse.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-13 22:45:22 +0900
committertmk <nobody@nowhere>2010-10-13 22:45:22 +0900
commit82637ded2737bfd80a2c1b85c0a9ae0b6fd33bd7 (patch)
tree236a80a34c0120b4d5258d0534e1f3779b4f94bc /usb_mouse.c
parent34a90769c9b29a24e39f6c2ca06106033dcb755f (diff)
add horizontal mouse wheel
Diffstat (limited to 'usb_mouse.c')
-rw-r--r--usb_mouse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usb_mouse.c b/usb_mouse.c
index a3992efbc6..c2617a5e18 100644
--- a/usb_mouse.c
+++ b/usb_mouse.c
@@ -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;