aboutsummaryrefslogtreecommitdiff
path: root/mousmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'mousmain.c')
-rw-r--r--mousmain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mousmain.c b/mousmain.c
index e33b553..80ea1fb 100644
--- a/mousmain.c
+++ b/mousmain.c
@@ -79,12 +79,12 @@ static int set_wheel_key(LPTSRDATA data, const char *keyname)
}
if (keyname) {
if (stricmp(keyname, "updn") == 0) {
- data->wheel_up_key = 0x4800;
- data->wheel_down_key = 0x5000;
+ data->wheel_up_key = 0x48;
+ data->wheel_down_key = 0x50;
printf(_(1, 4, "Generate Up Arrow / Down Arrow key presses on wheel movement\n"));
} else if (stricmp(keyname, "pageupdn") == 0) {
- data->wheel_up_key = 0x4900;
- data->wheel_down_key = 0x5100;
+ data->wheel_up_key = 0x49;
+ data->wheel_down_key = 0x51;
printf(_(1, 5, "Generate PageUp / PageDown key presses on wheel movement\n"));
} else {
fprintf(stderr, _(3, 2, "Unknown key '%s'\n"), keyname);