This commit is contained in:
seraphima
2023-10-23 22:30:21 +02:00
parent 641c19722d
commit c365b5a723
2 changed files with 2 additions and 3 deletions

View File

@@ -173,7 +173,6 @@ private:
const HINSTANCE m_hinstance{};
HWND m_window{};
KeyboardInput m_keyboardInput{};
std::unique_ptr<WindowMouseSnap> m_windowMouseSnapper{};
WindowKeyboardSnap m_windowKeyboardSnapper{};
WorkAreaConfiguration m_workAreaConfiguration;
@@ -226,7 +225,7 @@ FancyZones::Run() noexcept
return;
}
if (!m_keyboardInput.Initialize(m_window))
if (!KeyboardInput::Initialize(m_window))
{
Logger::critical(L"Failed to register raw input device");
return;

View File

@@ -6,5 +6,5 @@ public:
KeyboardInput() = default;
~KeyboardInput() = default;
bool Initialize(HWND window);
static bool Initialize(HWND window);
};