| 138 | } |
| 139 | |
| 140 | bool ImguiLayer::OnKeyPressed(Event::KeyPressedEvent& e) { |
| 141 | ImGuiIO& io = ImGui::GetIO(); |
| 142 | io.KeysDown[(int) e.GetKeyCode()] = true; |
| 143 | return false; |
| 144 | } |
| 145 | |
| 146 | bool ImguiLayer::OnKeyReleased(Event::KeyReleasedEvent& e) { |
| 147 | ImGuiIO& io = ImGui::GetIO(); |
nothing calls this directly
no test coverage detected