Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32window.c @ 3139:7f684f249ec9
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 23 May 2009 22:41:08 +0000 |
parents | 0d12e8f1de3c |
children | 6338b7f2d024 |
comparison
equal
deleted
inserted
replaced
3125:d71d8ceda8b3 | 3139:7f684f249ec9 |
---|---|
240 } | 240 } |
241 g_hCtx = tmp_hctx; | 241 g_hCtx = tmp_hctx; |
242 } | 242 } |
243 g_hCtx[window->id] = videodata->WTOpenA(hwnd, &lc, TRUE); | 243 g_hCtx[window->id] = videodata->WTOpenA(hwnd, &lc, TRUE); |
244 } | 244 } |
245 | 245 #ifndef _WIN32_WCE /* has no RawInput */ |
246 #ifndef _WIN32_WCE /* has no RawInput */ | |
247 /* we're telling the window, we want it to report raw input events from mice */ | 246 /* we're telling the window, we want it to report raw input events from mice */ |
248 Rid.usUsagePage = 0x01; | 247 Rid.usUsagePage = 0x01; |
249 Rid.usUsage = 0x02; | 248 Rid.usUsage = 0x02; |
250 Rid.dwFlags = RIDEV_INPUTSINK; | 249 Rid.dwFlags = RIDEV_INPUTSINK; |
251 Rid.hwndTarget = hwnd; | 250 Rid.hwndTarget = hwnd; |