Пример #1
0
ControllerManager::~ControllerManager()
{
	#if defined(__APPLE__)
		HIDReleaseAllDeviceQueues();
		HIDReleaseDeviceList();
	#endif
}
Пример #2
0
void releaseHIDDevices ()
{
	if (gTimer)
    {
		RemoveEventLoopTimer(gTimer);
		gTimer = NULL;
	}
	HIDReleaseAllDeviceQueues();
	HIDReleaseDeviceList();
	gNumberOfHIDDevices = 0;
}