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

Method key_callback

examples/viewer.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void Viewer::key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
136{
137 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
138 shouldStop = true;
139}
140
141void Viewer::onOpenGLBindingsChanged(OpenGLBindings *b)
142{

Callers 1

key_callbackstaticMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected