fix keys sticking

This commit is contained in:
Glenn Maynard
2003-06-21 21:01:07 +00:00
parent 8ca36e9cfb
commit 1ee68667e6
@@ -126,6 +126,10 @@ void InputHandler_DInput::WindowReset()
continue;
Devices[i].Close();
/* We lose buffered inputs here, so we need to clear all pressed keys. */
INPUTFILTER->ResetDevice( Devices[i].dev );
bool ret = Devices[i].Open();
/* Reopening it should succeed. */