Lines Matching defs:device
40 // Data produced with DirectInput device object enumeration
44 IDirectInputDevice8W* device;
177 // Lexically compare device objects
190 // Checks whether the specified device supports XInput
261 if (js->win32.device)
263 IDirectInputDevice8_Unacquire(js->win32.device);
264 IDirectInputDevice8_Release(js->win32.device);
271 // DirectInput device object enumeration callback
309 if (FAILED(IDirectInputDevice8_SetProperty(data->device,
344 // DirectInput device enumeration callback
351 IDirectInputDevice8* device;
372 &device,
375 _glfwInputError(GLFW_PLATFORM_ERROR, "Win32: Failed to create device");
379 if (FAILED(IDirectInputDevice8_SetDataFormat(device, &_glfwDataFormat)))
382 "Win32: Failed to set device data format");
384 IDirectInputDevice8_Release(device);
391 if (FAILED(IDirectInputDevice8_GetCapabilities(device, &dc)))
394 "Win32: Failed to query device capabilities");
396 IDirectInputDevice8_Release(device);
406 if (FAILED(IDirectInputDevice8_SetProperty(device,
411 "Win32: Failed to set device axis mode");
413 IDirectInputDevice8_Release(device);
418 data.device = device;
422 if (FAILED(IDirectInputDevice8_EnumObjects(device,
428 "Win32: Failed to enumerate device objects");
430 IDirectInputDevice8_Release(device);
447 IDirectInputDevice8_Release(device);
475 IDirectInputDevice8_Release(device);
480 js->win32.device = device;
512 _glfw.joysticks[jid].win32.device == NULL &&
606 if (js->win32.device)
612 IDirectInputDevice8_Poll(js->win32.device);
613 result = IDirectInputDevice8_GetDeviceState(js->win32.device,
618 IDirectInputDevice8_Acquire(js->win32.device);
619 IDirectInputDevice8_Poll(js->win32.device);
620 result = IDirectInputDevice8_GetDeviceState(js->win32.device,