#ifndef HIDBase_h
#define HIDBase_h
#import <Foundation/Foundation.h>
#import <IOKit/hidobjc/hidobjcbase.h>
NS_ASSUME_NONNULL_BEGIN
#if defined(__cplusplus)
#define HID_EXPORT extern "C"
#else
#define HID_EXPORT extern
#endif
@class HIDDevice;
@class HIDElement;
@class HIDEvent;
typedef uint32_t IOHIDEventField;
typedef kern_return_t IOReturn;
typedef mach_port_t io_object_t;
typedef io_object_t io_service_t;
typedef NS_ENUM(NSInteger, HIDReportType) {
HIDReportTypeInput,
HIDReportTypeOutput,
HIDReportTypeFeature
};
typedef void (^HIDReportHandler)(HIDDevice *sender,
uint64_t timestamp,
HIDReportType type,
NSInteger reportID,
NSData *report);
typedef void (^HIDBlock)(void);
typedef void (*HIDServiceEventDispatchHandler)(void * _Nullable target,
HIDEvent *event);
NS_ASSUME_NONNULL_END
#endif