| 606 | |
| 607 | bool InputSubsystem::GetActionToDo(UserAction action, bool reset, bool checkFocus) |
| 608 | { |
| 609 | const int idx = static_cast<int>(context_); |
| 610 | if (idx < 0 || idx >= kNumContexts) |
| 611 | return false; |
| 612 | return QueryProfileActionToDo(GInput, profiles_[idx], action, actionDoneByContext_[idx][action], reset, checkFocus); |
| 613 | } |
| 614 | |
| 615 | bool InputSubsystem::IsKeyDown(SDL_Scancode sc) const |
| 616 | { |
| 617 | int idx = static_cast<int>(sc); |
no test coverage detected