| 69 | } |
| 70 | |
| 71 | std::optional<MouseController::MouseControlKey> MouseController::findControlByMode( MouseMode mode ) const |
| 72 | { |
| 73 | auto ctrlIt = backMap_.find( mode ); |
| 74 | if ( ctrlIt == backMap_.end() ) |
| 75 | return {}; |
| 76 | return keyToMouseAndMod( ctrlIt->second ); |
| 77 | } |
| 78 | |
| 79 | std::string MouseController::getControlString( const MouseControlKey& key ) |
| 80 | { |
no test coverage detected