Removed RIDEV_NOLEGACY.

This commit is contained in:
TomW 2014-07-11 21:00:43 +01:00
commit 71f47a4e07

View file

@ -379,7 +379,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
memset(rawinputkey, 0, sizeof(rawinputkey));
device.usUsagePage = 0x01;
device.usUsage = 0x06;
device.dwFlags = RIDEV_NOLEGACY;
device.dwFlags = 0;
device.hwndTarget = hwnd;
if (RegisterRawInputDevices(&device, 1, sizeof(device)))