mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-28 11:04:15 +01:00
Fixed auto Virtual Keyboard in 320X240 mode for windows
This commit is contained in:
parent
94dbf5dcb7
commit
73c1422280
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user