23 #ifndef OIS_MacHIDManager_Header 24 #define OIS_MacHIDManager_Header 30 #import <CoreFoundation/CFString.h> 31 #import <IOKit/IOKitLib.h> 32 #import <IOKit/IOCFPlugIn.h> 33 #import <IOKit/hid/IOHIDLib.h> 34 #import <IOKit/hid/IOHIDKeys.h> 35 #import <Kernel/IOKit/hidsystem/IOHIDUsageTables.h> 73 void iterateAndOpenDevices(io_iterator_t iterator);
74 io_iterator_t lookUpDevices(
int usage,
int page);
81 int totalDevices(
Type iType);
84 int freeDevices(
Type iType);
93 void destroyObject(
Object* obj);
96 HidInfo* enumerateDeviceProperties(CFMutableDictionaryRef propertyMap);
97 void parseDeviceProperties(CFDictionaryRef properties);
98 void parseDevicePropertiesGroup(CFDictionaryRef properties);
Type type
Definition: MacHIDManager.h:48
std::vector< HidInfo * > HidInfoList
Definition: MacHIDManager.h:63
std::string vendor
Definition: MacHIDManager.h:49
::std::string string
Definition: gtest-port.h:756
int numAxes
Definition: MacHIDManager.h:56
int numHats
Definition: MacHIDManager.h:55
std::string productKey
Definition: MacHIDManager.h:50
IOHIDDeviceInterface ** interface
Definition: MacHIDManager.h:60
Definition: MacHIDManager.h:40
int numButtons
Definition: MacHIDManager.h:54
HidInfo()
Definition: MacHIDManager.h:43
Interface for creating devices - all devices ultimately get enumerated/created via a factory...
Definition: OISFactoryCreator.h:34
Definition: MacHIDManager.h:65
bool inUse
Definition: MacHIDManager.h:57
HidInfoList mDeviceList
Definition: MacHIDManager.h:100
The base class of all input types.
Definition: OISObject.h:32
Type
Each Input class has a General Type variable, a form of RTTI.
Definition: OISPrereqs.h:138
Definition: OISPrereqs.h:140
std::multimap< Type, std::string > DeviceList
Map of device objects connected and their respective vendors.
Definition: OISPrereqs.h:149
Definition: EventHelpers.h:31
std::string combinedKey
Definition: MacHIDManager.h:51