| 698 | } |
| 699 | |
| 700 | void UserController::LoadControllerMappings( void ) |
| 701 | { |
| 702 | unsigned int i = 0; |
| 703 | for ( i = 0; i < Input::MaxMappables; i++ ) |
| 704 | { |
| 705 | if( this->mMappable[ i ] != NULL ) |
| 706 | { |
| 707 | this->mMappable[ i ]->LoadControllerMappings( m_controllerId ); |
| 708 | mMappable[ i ]->InitButtons( m_controllerId, mButtonArray); |
| 709 | } |
| 710 | } |
| 711 | } |
| 712 | |
| 713 | // return the button id from the name. |
| 714 | int UserController::GetIdByName( const char* pszName ) const |
no test coverage detected