MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / OnKeyPressed

Method OnKeyPressed

ZEngine/src/GlfwWindow/OpenGLWindow.cpp:295–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 }
294
295 bool OpenGLWindow::OnKeyPressed(KeyPressedEvent& event) {
296 Event::EventDispatcher event_dispatcher(event);
297 event_dispatcher.ForwardTo<Event::KeyPressedEvent>(std::bind(&CoreWindow::ForwardEventToLayers, this, std::placeholders::_1));
298 return true;
299 }
300
301 bool OpenGLWindow::OnKeyReleased(KeyReleasedEvent& event) {
302 Event::EventDispatcher event_dispatcher(event);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected