From 0a5e170a49ccbce46bdf7bbf58f109ffbd31b832 Mon Sep 17 00:00:00 2001 From: mat <9219741+matpx@users.noreply.github.com> Date: Mon, 27 Jun 2022 10:57:44 +0200 Subject: [PATCH] Handle WM_INPUT in Template_Windows WndProc() (#473) --- Template_Windows/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Template_Windows/main.cpp b/Template_Windows/main.cpp index 98a99d372..5f119bb9a 100644 --- a/Template_Windows/main.cpp +++ b/Template_Windows/main.cpp @@ -187,6 +187,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) break; } break; + case WM_INPUT: + wi::input::rawinput::ParseMessage((void*)lParam); + break; case WM_KILLFOCUS: application.is_window_active = false; break;