X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Joystick.m;h=4753caffa7b9171a83f43b483873867d86410b6b;hp=3b43e4e3249ba57c158e1f1947681d765b87bfdb;hb=f563321aec9e13b8479ab3b890a9179f095a8b17;hpb=62aa5b73be6ec1e499e6b155cd0e7687c338cbaa diff --git a/Joystick.m b/Joystick.m index 3b43e4e..4753caf 100644 --- a/Joystick.m +++ b/Joystick.m @@ -95,7 +95,7 @@ static NSArray *ActionsForElement(IOHIDDeviceRef device, id base) { return nil; } -- (id)handlerForEvent:(IOHIDValueRef) value { +- (JSAction *)handlerForEvent:(IOHIDValueRef)value { JSAction *mainAction = [self actionForEvent:value]; return [mainAction findSubActionForValue:value]; }