Commit c2c78a2f authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32: Always refresh rawinput device list when requested.

parent d3ba02f3
......@@ -166,8 +166,6 @@ static struct device *add_device(HDEVINFO set, SP_DEVICE_INTERFACE_DATA *iface)
static void find_devices(void)
{
static ULONGLONG last_check;
SP_DEVICE_INTERFACE_DATA iface = { sizeof(iface) };
struct device *device;
HIDD_ATTRIBUTES attr;
......@@ -176,10 +174,6 @@ static void find_devices(void)
HDEVINFO set;
DWORD idx;
if (GetTickCount64() - last_check < 2000)
return;
last_check = GetTickCount64();
HidD_GetHidGuid(&hid_guid);
EnterCriticalSection(&rawinput_devices_cs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment