Home
last modified time | relevance | path

Searched refs:deviceRef (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/darwin/
A DSDL_sysjoystick.c129 if (removeDevice->deviceRef) { in FreeDevice()
137 …IOHIDDeviceUnscheduleFromRunLoop(removeDevice->deviceRef, CFRunLoopGetCurrent(), SDL_JOYSTICK_RUNL… in FreeDevice()
139 CFRelease(removeDevice->deviceRef); in FreeDevice()
140 removeDevice->deviceRef = NULL; in FreeDevice()
182 if (pDevice && pDevice->deviceRef && pElement) { in GetHIDElementState()
184 …if (IOHIDDeviceGetValue(pDevice->deviceRef, pElement->elementRef, &valueRef) == kIOReturnSuccess) { in GetHIDElementState()
227 if (device->deviceRef) { in JoystickDeviceWasRemovedCallback()
229 CFRelease(device->deviceRef); in JoystickDeviceWasRemovedCallback()
230 device->deviceRef = NULL; in JoystickDeviceWasRemovedCallback()
461 pDevice->deviceRef = hidDevice; in GetDeviceInfo()
[all …]
A DSDL_sysjoystick_c.h48 IOHIDDeviceRef deviceRef; /* HIDManager device handle */ member

Completed in 8 milliseconds