From b22dc91f6746f5663ffcfa888be257f9f414ddc9 Mon Sep 17 00:00:00 2001 From: TomW Date: Mon, 28 Apr 2014 21:01:38 +0100 Subject: [PATCH] Fixed inverted vertical axis on Amstrad mouse. --- src/amstrad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amstrad.c b/src/amstrad.c index 276706a..2582f3d 100644 --- a/src/amstrad.c +++ b/src/amstrad.c @@ -56,7 +56,7 @@ static int oldb = 0; void amstrad_mouse_poll(int x, int y, int b) { mousex += x; - mousey += y; + mousey -= y; if ((b & 1) && !(oldb & 1)) keyboard_send(0x7e);