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 --- tmk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmk.c') diff --git a/tmk.c b/tmk.c index 7c678a7e9..7af0c748c 100644 --- a/tmk.c +++ b/tmk.c @@ -149,8 +149,8 @@ int main(void) if (code == MS_BTN5) mouse_btn |= 1<<4; if (code == MS_WH_UP) mouse_wheel += 1; if (code == MS_WH_DOWN) mouse_wheel -= 1; - if (code == MS_WH_LEFT) mouse_hwheel += 1; - if (code == MS_WH_RIGHT) mouse_hwheel -= 1; + if (code == MS_WH_LEFT) mouse_hwheel -= 1; + if (code == MS_WH_RIGHT) mouse_hwheel += 1; } else { // normal keys if (key_index < 6) -- cgit v1.2.3