From 82637ded2737bfd80a2c1b85c0a9ae0b6fd33bd7 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 13 Oct 2010 22:45:22 +0900 Subject: add horizontal mouse wheel --- usb_mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usb_mouse.c') 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; -- cgit v1.2.1