diff --git a/JoyKit/JOYMultiplayerController.m b/JoyKit/JOYMultiplayerController.m index 0952c84..50840a1 100644 --- a/JoyKit/JOYMultiplayerController.m +++ b/JoyKit/JOYMultiplayerController.m @@ -4,6 +4,7 @@ - (instancetype)initWithDevice:(IOHIDDeviceRef)device reportIDFilter:(NSArray *) filter serialSuffix:(NSString *)suffix; - (void)elementChanged:(IOHIDElementRef) element toValue:(IOHIDValueRef) value; - (void)disconnected; +- (void)sendReport:(NSData *)report; @end @implementation JOYMultiplayerController @@ -41,4 +42,9 @@ } } +- (void)sendReport:(NSData *)report +{ + [[_children firstObject] sendReport:report]; +} + @end