Fix sendReport on JOYMultiplayerControlle
This commit is contained in:
parent
4c1f073d20
commit
6bcaffe27d
@ -4,6 +4,7 @@
|
|||||||
- (instancetype)initWithDevice:(IOHIDDeviceRef)device reportIDFilter:(NSArray <NSNumber *> *) filter serialSuffix:(NSString *)suffix;
|
- (instancetype)initWithDevice:(IOHIDDeviceRef)device reportIDFilter:(NSArray <NSNumber *> *) filter serialSuffix:(NSString *)suffix;
|
||||||
- (void)elementChanged:(IOHIDElementRef) element toValue:(IOHIDValueRef) value;
|
- (void)elementChanged:(IOHIDElementRef) element toValue:(IOHIDValueRef) value;
|
||||||
- (void)disconnected;
|
- (void)disconnected;
|
||||||
|
- (void)sendReport:(NSData *)report;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation JOYMultiplayerController
|
@implementation JOYMultiplayerController
|
||||||
@ -41,4 +42,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)sendReport:(NSData *)report
|
||||||
|
{
|
||||||
|
[[_children firstObject] sendReport:report];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
Loading…
Reference in New Issue
Block a user