@@ -295,6 +344,13 @@ static SysKeyboardImpl *alloc_device(REFGUID rguid, IDirectInputImpl *dinput) list_add_tail(&dinput->devices_list, &newDevice->base.entry); LeaveCriticalSection(&dinput->crit);
- if (dinput->dwVersion >= DIRECTINPUT_VERSION)
- {
newDevice->base.use_raw_input = TRUE;
newDevice->base.raw_device.usUsagePage = 1; /* HID generic device page */
newDevice->base.raw_device.usUsage = 6; /* HID generic keyboard */
- }
Of course this should be >= 0x0800