IOHIDDeviceTestController.h [plain text]
#import <Foundation/Foundation.h>
#include <IOKit/hid/IOHIDKeys.h>
#include <IOKit/hid/IOHIDManager.h>
#include <IOKit/hid/IOHIDDevice.h>
@interface IOHIDDeviceTestController : NSObject
@property (readonly, nonnull) IOHIDManagerRef deviceManager;
@property ( nullable) IOHIDDeviceRef device;
@property (readonly, nonnull) dispatch_queue_t deviceQueue;
@property ( nonnull) NSMutableArray* values;
@property ( nonnull) NSMutableArray* reports;
-(nullable instancetype) initWithDeviceUniqueID: (nonnull id) deviceID :(nonnull CFRunLoopRef) runLoop;
-(nullable instancetype) initWithMatching: (nonnull NSDictionary *) matching :(nonnull CFRunLoopRef) runLoop;
-(void)invalidate;
@end