Added a name for the Windows raw input thread

This commit is contained in:
Sam Lantinga
2025-09-08 11:39:02 -07:00
parent 2746e988b3
commit 3f196c0abe

View File

@@ -30,6 +30,7 @@
#include "../../joystick/usb_ids.h" #include "../../joystick/usb_ids.h"
#include "../../events/SDL_events_c.h" #include "../../events/SDL_events_c.h"
#include "../../thread/SDL_systhread.h"
#define ENABLE_RAW_MOUSE_INPUT 0x01 #define ENABLE_RAW_MOUSE_INPUT 0x01
#define ENABLE_RAW_KEYBOARD_INPUT 0x02 #define ENABLE_RAW_KEYBOARD_INPUT 0x02
@@ -59,6 +60,8 @@ static DWORD WINAPI WIN_RawInputThread(LPVOID param)
HWND window; HWND window;
UINT count = 0; UINT count = 0;
SDL_SYS_SetupThread("SDLRawInput");
window = CreateWindowEx(0, TEXT("Message"), NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL); window = CreateWindowEx(0, TEXT("Message"), NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL);
if (!window) { if (!window) {
return 0; return 0;