summaryrefslogtreecommitdiff
path: root/apple_remote
diff options
context:
space:
mode:
authorericb2 <ericb2@apache.org>2011-10-30 22:56:44 +0000
committerThorsten Behrens <tbehrens@suse.com>2011-12-05 13:00:11 +0100
commitb50bb4d3058456efeaaeee336f491d6447716845 (patch)
tree65bffc6484f81a1e1548348b17c848da921bf083 /apple_remote
parent7afb9c0e39bf3d706ec277b44ef64d2a1445920a (diff)
Propragating the modif in the implementation (AppleRemote.m)
* found under MIT-style at svn rev 1195271 (http://svn.apache.org/viewvc?view=revision&revision=1195271)
Diffstat (limited to 'apple_remote')
-rw-r--r--apple_remote/AppleRemote.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/apple_remote/AppleRemote.m b/apple_remote/AppleRemote.m
index a65cc6440b41..95d8835f046b 100644
--- a/apple_remote/AppleRemote.m
+++ b/apple_remote/AppleRemote.m
@@ -105,6 +105,9 @@ const char* AppleRemoteDeviceName = "AppleIRController";
[_cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonMenu_Hold] forKey:@"33_21_20_2_33_21_20_2_"];
[_cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonPlay_Hold] forKey:@"37_33_21_20_2_37_33_21_20_2_"];
[_cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteControl_Switched] forKey:@"19_"];
+ [_cookieToButtonMapping setObject:[NSNumber numberWithInt:kMetallicRemote2009ButtonPlay] forKey:@"33_21_20_8_2_33_21_20_8_2_"];
+ [_cookieToButtonMapping setObject:[NSNumber numberWithInt:kMetallicRemote2009ButtonMiddlePlay] forKey:@"33_21_20_3_2_33_21_20_3_2_"];
+ [_cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteControl_Switched] forKey:@"19_"];
}
}