diff options
author | tmk <nobody@nowhere> | 2010-10-13 22:45:22 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-13 22:45:22 +0900 |
commit | 82637ded2737bfd80a2c1b85c0a9ae0b6fd33bd7 (patch) | |
tree | 236a80a34c0120b4d5258d0534e1f3779b4f94bc /tmk.c | |
parent | 34a90769c9b29a24e39f6c2ca06106033dcb755f (diff) |
add horizontal mouse wheel
Diffstat (limited to 'tmk.c')
-rw-r--r-- | tmk.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |