]> git.sesse.net Git - vlc/commitdiff
Handle Volume Up/Down as well
authorEric Petit <titer@videolan.org>
Thu, 25 May 2006 15:26:51 +0000 (15:26 +0000)
committerEric Petit <titer@videolan.org>
Thu, 25 May 2006 15:26:51 +0000 (15:26 +0000)
modules/gui/macosx/intf.m

index 31cf524c5699c9817f905b77d221ee37a7129f77..40de372a381ea895770d2ce98f7d3faa9b024275 100644 (file)
@@ -709,6 +709,12 @@ static VLCMain *_o_sharedMainInstance = nil;
         case kRemoteButtonPlay:
             [o_controls play: self];
             break;
+        case kRemoteButtonVolume_Plus:
+            [o_controls volumeUp: self];
+            break;
+        case kRemoteButtonVolume_Minus:
+            [o_controls volumeDown: self];
+            break;
 
         default:
             /* Add here whatever you want other buttons to do */