projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Formal protocol for the interface shared between Joysticks and JSActions, use new...
[enjoyable.git]
/
Joystick.m
diff --git
a/Joystick.m
b/Joystick.m
index
3b43e4e
..
4753caf
100644
(file)
--- 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];
}