コード例 #1
0
 //ButtonReleased
 bool OverlayManager::ButtonReleased( const OIS::JoyStickEvent& e, int button )
 {
     // Get the active element:
     Overlay* active = GetActiveOverlay();
     if ( active )
     {
         return active->PovMoved( e, button );
     }
     return false;
 }
コード例 #2
0
 //PovMoved
 bool OverlayManager::PovMoved( const OIS::JoyStickEvent& e, int index )
 {
     // Get the active element:
     Overlay* active = GetActiveOverlay();
     if ( active )
     {
         return active->PovMoved( e, index );
     }
     return false;
 }