mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 09:18:43 +00:00
Added a name for the Windows raw input thread
This commit is contained in:
parent
2746e988b3
commit
3f196c0abe
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include "../../joystick/usb_ids.h"
|
||||
#include "../../events/SDL_events_c.h"
|
||||
#include "../../thread/SDL_systhread.h"
|
||||
|
||||
#define ENABLE_RAW_MOUSE_INPUT 0x01
|
||||
#define ENABLE_RAW_KEYBOARD_INPUT 0x02
|
||||
|
|
@ -59,6 +60,8 @@ static DWORD WINAPI WIN_RawInputThread(LPVOID param)
|
|||
HWND window;
|
||||
UINT count = 0;
|
||||
|
||||
SDL_SYS_SetupThread("SDLRawInput");
|
||||
|
||||
window = CreateWindowEx(0, TEXT("Message"), NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL);
|
||||
if (!window) {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue