Fixed inverted vertical axis on Amstrad mouse.
This commit is contained in:
parent
81e24b9cb5
commit
b22dc91f67
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ static int oldb = 0;
|
||||||
void amstrad_mouse_poll(int x, int y, int b)
|
void amstrad_mouse_poll(int x, int y, int b)
|
||||||
{
|
{
|
||||||
mousex += x;
|
mousex += x;
|
||||||
mousey += y;
|
mousey -= y;
|
||||||
|
|
||||||
if ((b & 1) && !(oldb & 1))
|
if ((b & 1) && !(oldb & 1))
|
||||||
keyboard_send(0x7e);
|
keyboard_send(0x7e);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue