#include <OVR_OSX_HIDDevice.h>

Public Member Functions | |
| virtual bool | Enumerate (HIDEnumerateVisitor *enumVisitor) |
| HIDDeviceManager (OSX::DeviceManager *Manager) | |
| virtual bool | Initialize () |
| virtual OVR::HIDDevice * | Open (const String &path) |
| virtual void | Shutdown () |
| virtual | ~HIDDeviceManager () |
Static Public Member Functions | |
| static HIDDeviceManager * | CreateInternal (DeviceManager *manager) |
Private Member Functions | |
| bool | getFullDesc (IOHIDDeviceRef device, HIDDeviceDesc *desc) |
| bool | getIntProperty (IOHIDDeviceRef device, CFStringRef key, int32_t *pResult) |
| bool | getLocationId (IOHIDDeviceRef device, SInt32 *pResult) |
| bool | getPath (IOHIDDeviceRef device, String *pPath) |
| bool | getProductId (IOHIDDeviceRef device, UInt16 *pResult) |
| CFRunLoopRef | getRunLoop () |
| bool | getSerialNumberString (IOHIDDeviceRef device, String *pResult) |
| bool | getStringProperty (IOHIDDeviceRef device, CFStringRef propertyName, String *pResult) |
| bool | getVendorId (IOHIDDeviceRef device, UInt16 *pResult) |
| bool | initializeManager () |
| bool | initSerialNumber (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc) |
| bool | initStrings (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc) |
| bool | initUsage (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc) |
| bool | initVendorProductVersion (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc) |
Static Private Member Functions | |
| static void | staticDeviceMatchingCallback (void *inContext, IOReturn inResult, void *inSender, IOHIDDeviceRef inIOHIDDeviceRef) |
Private Attributes | |
| DeviceManager * | DevManager |
| IOHIDManagerRef | HIDManager |
Friends | |
| class | HIDDevice |
Definition at line 105 of file OVR_OSX_HIDDevice.h.
Definition at line 26 of file OVR_OSX_HIDDevice.cpp.
| OVR::OSX::HIDDeviceManager::~HIDDeviceManager | ( | ) | [virtual] |
Definition at line 32 of file OVR_OSX_HIDDevice.cpp.
| HIDDeviceManager * OVR::OSX::HIDDeviceManager::CreateInternal | ( | OSX::DeviceManager * | devManager | ) | [static] |
Definition at line 836 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::Enumerate | ( | HIDEnumerateVisitor * | enumVisitor | ) | [virtual] |
Implements OVR::HIDDeviceManager.
Definition at line 316 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getFullDesc | ( | IOHIDDeviceRef | device, |
| HIDDeviceDesc * | desc | ||
| ) | [private] |
Definition at line 393 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getIntProperty | ( | IOHIDDeviceRef | device, |
| CFStringRef | key, | ||
| int32_t * | pResult | ||
| ) | [private] |
Definition at line 99 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getLocationId | ( | IOHIDDeviceRef | device, |
| SInt32 * | pResult | ||
| ) | [private] |
Definition at line 251 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getPath | ( | IOHIDDeviceRef | device, |
| String * | pPath | ||
| ) | [private] |
Definition at line 276 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getProductId | ( | IOHIDDeviceRef | device, |
| UInt16 * | pResult | ||
| ) | [private] |
Definition at line 237 of file OVR_OSX_HIDDevice.cpp.
| CFRunLoopRef OVR::OSX::HIDDeviceManager::getRunLoop | ( | ) | [private] |
Definition at line 36 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getSerialNumberString | ( | IOHIDDeviceRef | device, |
| String * | pResult | ||
| ) | [private] |
Definition at line 265 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getStringProperty | ( | IOHIDDeviceRef | device, |
| CFStringRef | propertyName, | ||
| String * | pResult | ||
| ) | [private] |
Definition at line 173 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::getVendorId | ( | IOHIDDeviceRef | device, |
| UInt16 * | pResult | ||
| ) | [private] |
Definition at line 223 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::Initialize | ( | ) | [virtual] |
Definition at line 86 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::initializeManager | ( | ) | [private] |
Definition at line 46 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::initSerialNumber | ( | IOHIDDeviceRef | device, |
| HIDDeviceDesc * | pDevDesc | ||
| ) | [private] |
Definition at line 158 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::initStrings | ( | IOHIDDeviceRef | device, |
| HIDDeviceDesc * | pDevDesc | ||
| ) | [private] |
Definition at line 163 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::initUsage | ( | IOHIDDeviceRef | device, |
| HIDDeviceDesc * | pDevDesc | ||
| ) | [private] |
Definition at line 135 of file OVR_OSX_HIDDevice.cpp.
| bool OVR::OSX::HIDDeviceManager::initVendorProductVersion | ( | IOHIDDeviceRef | device, |
| HIDDeviceDesc * | pDevDesc | ||
| ) | [private] |
Definition at line 119 of file OVR_OSX_HIDDevice.cpp.
| OVR::HIDDevice * OVR::OSX::HIDDeviceManager::Open | ( | const String & | path | ) | [virtual] |
Implements OVR::HIDDeviceManager.
Definition at line 378 of file OVR_OSX_HIDDevice.cpp.
| void OVR::OSX::HIDDeviceManager::Shutdown | ( | ) | [virtual] |
Definition at line 91 of file OVR_OSX_HIDDevice.cpp.
| void OVR::OSX::HIDDeviceManager::staticDeviceMatchingCallback | ( | void * | inContext, |
| IOReturn | inResult, | ||
| void * | inSender, | ||
| IOHIDDeviceRef | inIOHIDDeviceRef | ||
| ) | [static, private] |
Definition at line 417 of file OVR_OSX_HIDDevice.cpp.
friend class HIDDevice [friend] |
Definition at line 107 of file OVR_OSX_HIDDevice.h.
Definition at line 142 of file OVR_OSX_HIDDevice.h.
IOHIDManagerRef OVR::OSX::HIDDeviceManager::HIDManager [private] |
Definition at line 144 of file OVR_OSX_HIDDevice.h.