Skip to content

Commit

Permalink
Add missing comment
Browse files Browse the repository at this point in the history
Added missing comment to WM_DEVICECHANGE event in Window
implementation for Win32.
  • Loading branch information
Si1ver authored and eXpl0it3r committed Nov 30, 2021
1 parent ef8fee5 commit 7fc026e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SFML/Window/Win32/WindowImplWin32.cpp
Expand Up @@ -983,6 +983,8 @@ void WindowImplWin32::processEvent(UINT message, WPARAM wParam, LPARAM lParam)
pushEvent(event);
break;
}

// Hardware configuration change event
case WM_DEVICECHANGE:
{
// Some sort of device change has happened, update joystick connections
Expand Down

0 comments on commit 7fc026e

Please sign in to comment.