aboutsummaryrefslogtreecommitdiff
path: root/mousetsr.c
diff options
context:
space:
mode:
Diffstat (limited to 'mousetsr.c')
-rw-r--r--mousetsr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mousetsr.c b/mousetsr.c
index f9451b3..c4a4c55 100644
--- a/mousetsr.c
+++ b/mousetsr.c
@@ -665,11 +665,11 @@ static void handle_mouse_event(uint16_t buttons, bool absolute, int x, int y, ch
// Emulate keystrokes on (vertical) wheel movement
if (z < 0 && data.wheel_up_key) {
for (; z < 0; z++) {
- int16_store_keystroke(data.wheel_up_key);
+ int16_store_keystroke(data.wheel_up_key, 0);
}
} else if (z > 0 && data.wheel_down_key) {
for (; z > 0; z--) {
- int16_store_keystroke(data.wheel_down_key);
+ int16_store_keystroke(data.wheel_down_key, 0);
}
}
} else {