MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / key_callbackstatic

Method key_callbackstatic

examples/viewer.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void Viewer::key_callbackstatic(GLFWwindow* window, int key, int scancode, int action, int mods)
130{
131 Viewer* viewer = reinterpret_cast<Viewer*>(glfwGetWindowUserPointer(window));
132 viewer->key_callback(window, key, scancode, action, mods);
133}
134
135void Viewer::key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
136{

Callers

nothing calls this directly

Calls 1

key_callbackMethod · 0.80

Tested by

no test coverage detected