Full-screen: Hide mouse cursor after 2s of inactivity (#504)

This commit is contained in:
tomcw
2017-10-28 21:59:48 +01:00
parent e2b515de33
commit e5dbdb1696
4 changed files with 82 additions and 24 deletions
+1
View File
@@ -889,6 +889,7 @@ namespace DIMouse
return hr;
// Setup timer to read mouse position
_ASSERT(g_TimerIDEvent == 0);
g_TimerIDEvent = SetTimer(hDlg, IDEVENT_TIMER_MOUSE, 8, NULL); // 120Hz timer
LogFileOutput("DirectInputInit: SetTimer(), id=0x%08X\n", g_TimerIDEvent);
if (g_TimerIDEvent == 0)