summaryrefslogtreecommitdiffstats
path: root/tmk.c
diff options
context:
space:
mode:
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 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)