From 73c142228098c2d75f01cff75a49def5036c7d6b Mon Sep 17 00:00:00 2001 From: "fabio.olimpieri" Date: Wed, 9 Apr 2014 07:47:04 +0000 Subject: [PATCH] Fixed auto Virtual Keyboard in 320X240 mode for windows --- src/computer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/computer.c b/src/computer.c index 96f7039..9be700d 100644 --- a/src/computer.c +++ b/src/computer.c @@ -1677,7 +1677,7 @@ inline void read_keyboard () { #else int x=0,y=0 ; SDL_GetMouseState(&x,&y); - if ((x>64)&&(x<576)&&(y>90)&&(y<390)) + if ((x>64/RATIO)&&(x<576/RATIO)&&(y>90/RATIO)&&(y<390/RATIO)) { if (!ordenador.vk_is_active) virtkey_ir_activate(); }