r5sdk/src/windows/input.h
Kawe Mazidjatari 77851d9ad7 ImguiSystem: reset keydown state properly once window closes
In commit 1fd4c25cd0188f96c7d1fe7b0a8b072763eed032, an attempt was made to fix this by calling the message handler with WM_NULL, but WM_KILLFOCUS should've been passed instead, as Dear ImGui clears the keydown state with this message. WM_NULL does nothing.
2024-11-28 00:26:15 +01:00

13 lines
355 B
C++

#pragma once
/////////////////////////////////////////////////////////////////////////////
// Internals
void Input_Init();
void Input_Shutdown();
/////////////////////////////////////////////////////////////////////////////
// Globals
extern std::atomic_bool g_bBlockInput;
/////////////////////////////////////////////////////////////////////////////