mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 22:35:41 +00:00
Added raw input device handle for WM_INPUT mouse button handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user