Win32: fix controller hotplugging

This commit is contained in:
OV2 2015-04-02 20:40:50 +02:00
parent 61f1358849
commit 951a383ae2
1 changed files with 1 additions and 1 deletions

View File

@ -2672,7 +2672,7 @@ LRESULT CALLBACK WinProc(
break;
#endif
case WM_DEVICECHANGE:
if(wParam == DBT_DEVICEARRIVAL || wParam == DBT_DEVICEREMOVECOMPLETE)
if(wParam == DBT_DEVICEARRIVAL || wParam == DBT_DEVICEREMOVECOMPLETE || wParam == DBT_DEVNODES_CHANGED)
S9xDetectJoypads();
break;
}