summaryrefslogtreecommitdiff
path: root/tmk.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 /tmk.c
parent34a90769c9b29a24e39f6c2ca06106033dcb755f (diff)
add horizontal mouse wheel
Diffstat (limited to 'tmk.c')
-rw-r--r--tmk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk.c b/tmk.c
index 7c678a7e9c..7af0c748c8 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)