projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename 'stringify' to 'uid' where it pertains to unique action IDs.
[enjoyable.git]
/
Joystick.m
diff --git
a/Joystick.m
b/Joystick.m
index
861ab8d
..
3f21818
100644
(file)
--- a/
Joystick.m
+++ b/
Joystick.m
@@
-78,12
+78,11
@@
static NSArray *ActionsForElement(IOHIDDeviceRef device, id base) {
}
- (id)base {
}
- (id)base {
- // FIXME(jfw): This is a hack because actions get joysticks as their base.
return nil;
}
return nil;
}
-- (NSString *)
stringify
{
- return [
[NSString alloc] initWithFormat: @"%d~%d~
%d", vendorId, productId, index];
+- (NSString *)
uid
{
+ return [
NSString stringWithFormat: @"%d:%d:
%d", vendorId, productId, index];
}
- (JSAction *)findActionByCookie:(void *)cookie {
}
- (JSAction *)findActionByCookie:(void *)cookie {