vlc/vlc-3.0 | branch: master | Felix Paul Kühne <[email protected]> | Sun Oct 27 18:15:32 2019 +0100| [68127e4f3e8fa46ad60b91ab4172b66cc7550781] | committer: Felix Paul Kühne
macosx/Apple Remote: fix play button cookie The 2005 white-plastic Apple Remote uses a different play button cookie than the 2009 aluminium version. This patch fixes control by both devices. (cherry picked from commit 229f99c2f3eb45f129fbd59088c74d76548497c4) > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=68127e4f3e8fa46ad60b91ab4172b66cc7550781 --- modules/gui/macosx/AppleRemote.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/macosx/AppleRemote.m b/modules/gui/macosx/AppleRemote.m index 7395e0b563..91cc731aad 100644 --- a/modules/gui/macosx/AppleRemote.m +++ b/modules/gui/macosx/AppleRemote.m @@ -79,7 +79,7 @@ const NSTimeInterval HOLD_RECOGNITION_TIME_INTERVAL=0.4; [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonVolume_Plus] forKey:@"35_23_22_17_14_4_3_35_23_22_4_3_"]; [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonVolume_Minus] forKey:@"35_23_22_18_14_4_3_35_23_22_4_3_"]; [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonMenu] forKey:@"35_24_23_22_4_3_35_24_23_22_4_3_"]; - [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonPlay] forKey:@"35_23_22_10_4_3_35_23_22_10_4_3_"]; + [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonPlay] forKey:@"35_25_23_22_4_3_35_25_23_22_4_3_"]; [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonRight] forKey:@"35_26_23_22_4_3_35_26_23_22_4_3_"]; [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonLeft] forKey:@"35_27_23_22_4_3_35_27_23_22_4_3_"]; [mutableCookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonRight_Hold] forKey:@"35_23_22_16_14_4_3_"]; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
