Home
last modified time | relevance | path

Searched refs:devcaps (Results 1 – 8 of 8) sorted by relevance

/reactos/win32ss/gdi/eng/
H A Dpdevobj.c1158 DEVCAPS devcaps; in NtGdiGetDeviceCaps() local
1178 return devcaps.ulVersion; in NtGdiGetDeviceCaps()
1190 return devcaps.ulHorzRes; in NtGdiGetDeviceCaps()
1193 return devcaps.ulVertRes; in NtGdiGetDeviceCaps()
1205 return devcaps.ulPlanes; in NtGdiGetDeviceCaps()
1211 return devcaps.ulNumPens; in NtGdiGetDeviceCaps()
1220 return devcaps.ulAspectX; in NtGdiGetDeviceCaps()
1223 return devcaps.ulAspectY; in NtGdiGetDeviceCaps()
1241 return devcaps.ulVertRes; in NtGdiGetDeviceCaps()
1244 return devcaps.ulHorzRes; in NtGdiGetDeviceCaps()
[all …]
/reactos/dll/directx/wine/dinput/
H A Djoystick_osx.c725 …TRACE("axes %u povs %u buttons %u\n", device->generic.devcaps.dwAxes, device->generic.devcaps.dwPO… in get_osx_device_elements()
726 device->generic.devcaps.dwButtons); in get_osx_device_elements()
740 device->generic.devcaps.dwAxes = 0; in get_osx_device_elements()
741 device->generic.devcaps.dwButtons = 0; in get_osx_device_elements()
742 device->generic.devcaps.dwPOVs = 0; in get_osx_device_elements()
1160 …uttons %i povs\n",newDevice->generic.devcaps.dwAxes,newDevice->generic.devcaps.dwButtons,newDevice… in alloc_device()
1162 if (newDevice->generic.devcaps.dwButtons > 128) in alloc_device()
1165 newDevice->generic.devcaps.dwButtons = 128; in alloc_device()
1180 …df->dwNumObjs = newDevice->generic.devcaps.dwAxes + newDevice->generic.devcaps.dwPOVs + newDevice-… in alloc_device()
1251 newDevice->generic.devcaps.dwSize = sizeof(newDevice->generic.devcaps); in alloc_device()
[all …]
H A Djoystick_linux.c492 if (newDevice->generic.devcaps.dwButtons > 128) in alloc_device()
495 newDevice->generic.devcaps.dwButtons = 128; in alloc_device()
518 …df->dwNumObjs = newDevice->generic.devcaps.dwAxes + newDevice->generic.devcaps.dwPOVs + newDevice-… in alloc_device()
560 newDevice->generic.devcaps.dwSize = sizeof(newDevice->generic.devcaps); in alloc_device()
561 newDevice->generic.devcaps.dwFlags = DIDC_ATTACHED; in alloc_device()
565 newDevice->generic.devcaps.dwDevType = ddi.dwDevType; in alloc_device()
567 newDevice->generic.devcaps.dwFFSamplePeriod = 0; in alloc_device()
569 newDevice->generic.devcaps.dwFirmwareRevision = 0; in alloc_device()
570 newDevice->generic.devcaps.dwHardwareRevision = 0; in alloc_device()
571 newDevice->generic.devcaps.dwFFDriverVersion = 0; in alloc_device()
[all …]
H A Dkeyboard.c402 DIDEVCAPS devcaps; in SysKeyboardWImpl_GetCapabilities() local
411 devcaps.dwSize = lpDIDevCaps->dwSize; in SysKeyboardWImpl_GetCapabilities()
412 devcaps.dwFlags = DIDC_ATTACHED | DIDC_EMULATED; in SysKeyboardWImpl_GetCapabilities()
417 devcaps.dwAxes = 0; in SysKeyboardWImpl_GetCapabilities()
419 devcaps.dwPOVs = 0; in SysKeyboardWImpl_GetCapabilities()
420 devcaps.dwFFSamplePeriod = 0; in SysKeyboardWImpl_GetCapabilities()
421 devcaps.dwFFMinTimeResolution = 0; in SysKeyboardWImpl_GetCapabilities()
422 devcaps.dwFirmwareRevision = 100; in SysKeyboardWImpl_GetCapabilities()
423 devcaps.dwHardwareRevision = 100; in SysKeyboardWImpl_GetCapabilities()
424 devcaps.dwFFDriverVersion = 0; in SysKeyboardWImpl_GetCapabilities()
[all …]
H A Dmouse.c676 DIDEVCAPS devcaps; in SysMouseWImpl_GetCapabilities() local
685 devcaps.dwSize = lpDIDevCaps->dwSize; in SysMouseWImpl_GetCapabilities()
686 devcaps.dwFlags = DIDC_ATTACHED | DIDC_EMULATED; in SysMouseWImpl_GetCapabilities()
691 devcaps.dwAxes = 3; in SysMouseWImpl_GetCapabilities()
692 devcaps.dwButtons = 8; in SysMouseWImpl_GetCapabilities()
693 devcaps.dwPOVs = 0; in SysMouseWImpl_GetCapabilities()
694 devcaps.dwFFSamplePeriod = 0; in SysMouseWImpl_GetCapabilities()
695 devcaps.dwFFMinTimeResolution = 0; in SysMouseWImpl_GetCapabilities()
696 devcaps.dwFirmwareRevision = 100; in SysMouseWImpl_GetCapabilities()
697 devcaps.dwHardwareRevision = 100; in SysMouseWImpl_GetCapabilities()
[all …]
H A Djoystick_private.h46 DIDEVCAPS devcaps; member
103 BOOL is_xinput_device(const DIDEVCAPS *devcaps, WORD vid, WORD pid) DECLSPEC_HIDDEN;
H A Djoystick.c312 BOOL is_xinput_device(const DIDEVCAPS *devcaps, WORD vid, WORD pid) in is_xinput_device() argument
322 return (devcaps->dwAxes == 6 && devcaps->dwButtons >= 14); in is_xinput_device()
545 CopyMemory(lpDIDevCaps, &This->devcaps, size); in JoystickWGenericImpl_GetCapabilities()
722 pdidi->dwDevType = This->devcaps.dwDevType; in JoystickAGenericImpl_GetDeviceInfo()
766 pdidi->dwDevType = This->devcaps.dwDevType; in JoystickWGenericImpl_GetDeviceInfo()
1197 This->devcaps.dwAxes = axis; in setup_dinput_options()
1198 This->devcaps.dwPOVs = pov; in setup_dinput_options()
H A Djoystick_linuxinput.c580 … for (i = 0; i < KEY_MAX && newDevice->generic.devcaps.dwButtons < WINE_JOYSTICK_MAX_BUTTONS; i++) in alloc_device()
584 …memcpy(&df->rgodf[idx], &c_dfDIJoystick2.rgodf[newDevice->generic.devcaps.dwButtons + 12], df->dwO… in alloc_device()
585 newDevice->buttons[i] = 0x80 | newDevice->generic.devcaps.dwButtons; in alloc_device()
587 …df->rgodf[idx++].dwType = DIDFT_MAKEINSTANCE(newDevice->generic.devcaps.dwButtons++) | DIDFT_PSHBU… in alloc_device()
595 newDevice->generic.devcaps.dwSize = sizeof(newDevice->generic.devcaps); in alloc_device()
596 newDevice->generic.devcaps.dwFlags = DIDC_ATTACHED; in alloc_device()
600 newDevice->generic.devcaps.dwDevType = ddi.dwDevType; in alloc_device()
603 newDevice->generic.devcaps.dwFlags |= DIDC_FORCEFEEDBACK; in alloc_device()
1120 is_gamepad = is_xinput_device(&This->generic.devcaps, vid, pid); in JoystickWImpl_GetProperty()