Removed RIDEV_NOLEGACY.
This commit is contained in:
parent
a90ca3c83b
commit
71f47a4e07
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
||||||
memset(rawinputkey, 0, sizeof(rawinputkey));
|
memset(rawinputkey, 0, sizeof(rawinputkey));
|
||||||
device.usUsagePage = 0x01;
|
device.usUsagePage = 0x01;
|
||||||
device.usUsage = 0x06;
|
device.usUsage = 0x06;
|
||||||
device.dwFlags = RIDEV_NOLEGACY;
|
device.dwFlags = 0;
|
||||||
device.hwndTarget = hwnd;
|
device.hwndTarget = hwnd;
|
||||||
|
|
||||||
if (RegisterRawInputDevices(&device, 1, sizeof(device)))
|
if (RegisterRawInputDevices(&device, 1, sizeof(device)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue