MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / charInputCallback

Method charInputCallback

Source/Falcor/Core/Window.cpp:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 static void charInputCallback(GLFWwindow* pGlfwWindow, uint32_t input)
72 {
73 KeyboardEvent event;
74 event.type = KeyboardEvent::Type::Input;
75 event.codepoint = input;
76
77 Window* pWindow = (Window*)glfwGetWindowUserPointer(pGlfwWindow);
78 if (pWindow != nullptr)
79 {
80 pWindow->mpCallbacks->handleKeyboardEvent(event);
81 }
82 }
83
84 static void mouseMoveCallback(GLFWwindow* pGlfwWindow, double mouseX, double mouseY)
85 {

Callers

nothing calls this directly

Calls 1

handleKeyboardEventMethod · 0.45

Tested by

no test coverage detected