Added raw input device handle for WM_INPUT mouse button handling

This commit is contained in:
Sam Lantinga 2024-01-15 19:47:55 -08:00
parent cf5e0637b5
commit 6e48d4532c
1 changed files with 1 additions and 1 deletions

View File

@ -858,7 +858,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
/* Mouse data (ignoring synthetic mouse events generated for touchscreens) */
if (inp.header.dwType == RIM_TYPEMOUSE) {
WIN_HandleRawMouseInput(WIN_GetEventTimestamp(), data, &inp.data.mouse);
WIN_HandleRawMouseInput(WIN_GetEventTimestamp(), data, inp.header.hDevice, &inp.data.mouse);
}
} break;
#endif