Changeset 5479

Show
Ignore:
Timestamp:
04/26/08 20:44:38 (3 weeks ago)
Author:
morris
Message:

Also work in fullscreen player

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Spiral/trunk/SPAppleRemote.m

    r5472 r5479  
    477477        switch(button) { 
    478478                case SPAppleRemoteButtonVolumePlus: 
    479                         if(context == SPRemotePlayer
     479                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    480480                                return SPRemoteCycleSubtitleTracks; 
    481481                        else 
     
    484484 
    485485                case SPAppleRemoteButtonVolumeMinus: 
    486                         if(context == SPRemotePlayer
     486                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    487487                                return SPRemoteCycleAudioTracks; 
    488488                        else 
     
    500500                 
    501501                case SPAppleRemoteButtonPlay: 
    502                         if(context == SPRemotePlayer
     502                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    503503                                return SPRemotePlayOrPause; 
    504504                        else 
     
    507507                 
    508508                case SPAppleRemoteButtonRight: 
    509                         if(context == SPRemotePlayer
     509                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    510510                                return SPRemoteNext; 
    511511                        else 
     
    514514                 
    515515                case SPAppleRemoteButtonLeft: 
    516                         if(context == SPRemotePlayer
     516                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    517517                                return SPRemotePrevious; 
    518518                        else 
     
    521521                 
    522522                case SPAppleRemoteButtonRightHold: 
    523                         if(context == SPRemotePlayer
     523                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    524524                                return SPRemoteScanForward; 
    525525                        else 
     
    528528                 
    529529                case SPAppleRemoteButtonLeftHold: 
    530                         if(context == SPRemotePlayer
     530                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    531531                                return SPRemoteScanBackward; 
    532532                        else 
  • Spiral/trunk/SPWiiRemote.m

    r5472 r5479  
    189189                         
    190190                case SPWiiRemoteButtonB: 
    191                         if(context == SPRemotePlayer
     191                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    192192                                return SPRemotePlayOrPause; 
    193193                        else 
     
    196196                         
    197197                case SPWiiRemoteButtonA: 
    198                         if(context == SPRemotePlayer
     198                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    199199                                return SPRemotePlayOrPause; 
    200200                        else 
     
    216216                         
    217217                case SPWiiRemoteButtonLeft: 
    218                         if(context == SPRemotePlayer
     218                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    219219                                return SPRemotePrevious; 
    220220                        else 
     
    223223                         
    224224                case SPWiiRemoteButtonRight: 
    225                         if(context == SPRemotePlayer
     225                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    226226                                return SPRemoteNext; 
    227227                        else 
     
    230230                         
    231231                case SPWiiRemoteButtonDown: 
    232                         if(context == SPRemotePlayer
     232                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    233233                                return SPRemoteStepBackward; 
    234234                        else 
     
    237237                         
    238238                case SPWiiRemoteButtonUp: 
    239                         if(context == SPRemotePlayer
     239                        if(context == SPRemotePlayer || context == SPRemoteFullscreenPlayer
    240240                                return SPRemoteStepForward; 
    241241                        else