mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- SDL: clear button state when switching from/to GUI input
https://forum.zdoom.org/viewtopic.php?t=60451
This commit is contained in:
parent
ce18ff1df3
commit
7fcefa2ed1
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
||||||
#include "d_event.h"
|
#include "d_event.h"
|
||||||
#include "d_gui.h"
|
#include "d_gui.h"
|
||||||
#include "c_console.h"
|
#include "c_console.h"
|
||||||
|
#include "c_dispatch.h"
|
||||||
#include "dikeys.h"
|
#include "dikeys.h"
|
||||||
#include "s_sound.h"
|
#include "s_sound.h"
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
|
@ -193,6 +194,7 @@ static void I_CheckGUICapture ()
|
||||||
{
|
{
|
||||||
memset (DownState, 0, sizeof(DownState));
|
memset (DownState, 0, sizeof(DownState));
|
||||||
}
|
}
|
||||||
|
ResetButtonStates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue