| 941 | } |
| 942 | |
| 943 | bool InputManager::IsKeyPressed(wchar_t character) { |
| 944 | return std::find(this->pressed_keys_.begin(), |
| 945 | this->pressed_keys_.end(), |
| 946 | character) != this->pressed_keys_.end(); |
| 947 | } |
| 948 | |
| 949 | void InputManager::UpdatePressedKeys(wchar_t character, bool press_key) { |
| 950 | std::wstring log_string = this->GetKeyDescription(character); |