Minor cleanups dealing with plat, keyboard and mouse.

This commit is contained in:
waltje
2017-10-25 05:30:06 -04:00
parent 5abd25ba58
commit fd432b8eb1
7 changed files with 57 additions and 49 deletions

View File

@@ -580,5 +580,11 @@ keyboard_isfsexit(void)
int
keyboard_ismsexit(void)
{
#ifdef WIN32
/* Windows: F8+F12 */
return( recv_key[0x42] && recv_key[0x58] );
#else
/* Linux: CTRL+END */
return( (recv_key[0x1D] || recv_key[0x9D]) && recv_key[0xCF] );
#endif
}