| 194 | } |
| 195 | |
| 196 | int TouchesController::MultiInfo::getNumPressed() const |
| 197 | { |
| 198 | int counter = 0; |
| 199 | if ( info_[0].id != -1 ) |
| 200 | ++counter; |
| 201 | if ( info_[1].id != -1 ) |
| 202 | ++counter; |
| 203 | return counter; |
| 204 | } |
| 205 | |
| 206 | std::optional<TouchesController::MultiInfo::Finger> TouchesController::MultiInfo::getFingerById( int id ) const |
| 207 | { |
no outgoing calls
no test coverage detected