X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Joystick.m;h=4753caffa7b9171a83f43b483873867d86410b6b;hp=3b43e4e3249ba57c158e1f1947681d765b87bfdb;hb=0238d141f06420e1a73eccd14ca73a7e29ad2a69;hpb=aaab00fd866af505e9a5e454f1aeb3e298fd38e3 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]; }