fix "buttons stuck" if button held while device unplugged
This commit is contained in:
@@ -101,6 +101,7 @@ void GameLoop()
|
|||||||
|
|
||||||
if( INPUTMAN->DevicesChanged() )
|
if( INPUTMAN->DevicesChanged() )
|
||||||
{
|
{
|
||||||
|
INPUTFILTER->Reset(); // fix "buttons stuck" if button held while unplugged
|
||||||
INPUTMAN->LoadDrivers();
|
INPUTMAN->LoadDrivers();
|
||||||
CString sMessage;
|
CString sMessage;
|
||||||
if( INPUTMAPPER->CheckForChangedInputDevicesAndRemap(sMessage) )
|
if( INPUTMAPPER->CheckForChangedInputDevicesAndRemap(sMessage) )
|
||||||
|
|||||||
Reference in New Issue
Block a user