fallback to getkey after gint's getkey improvements

This commit is contained in:
Milang 2020-02-23 13:50:59 +01:00
parent 7c9da97baf
commit 9760257d76
3 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -26,7 +26,7 @@ void MKB_clear()
int MKB_getkey()
{
MKB_clear();
/*
while (1)
{
key_event_t const e=pollevent();
@ -37,6 +37,8 @@ int MKB_getkey()
else
sleep(); // Processor friendly :)
}
*/
return getkey_opt(GETKEY_REP_ARROWS,0).key;
}
static int menu_pause() // 1 exit, 0 continue