Add option to hide mouse on inactivity (#955)

Also allow user to specify how long to wait before hiding
This commit is contained in:
WaluigiWare64
2021-01-21 18:48:25 +00:00
committed by GitHub
parent 1494d7aa24
commit bf0ea26596
8 changed files with 322 additions and 7 deletions

View File

@ -77,6 +77,9 @@ char RecentROMList[10][1024];
int EnableCheats;
int MouseHide;
int MouseHideSeconds;
bool EnableJIT;
ConfigEntry PlatformConfigFile[] =
@ -185,6 +188,9 @@ ConfigEntry PlatformConfigFile[] =
{"EnableCheats", 0, &EnableCheats, 0, NULL, 0},
{"MouseHide", 0, &MouseHide, 0, NULL, 0},
{"MouseHideSeconds", 0, &MouseHideSeconds, 5, NULL, 0},
{"", -1, NULL, 0, NULL, 0}
};