MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / MouseCallback

Function MouseCallback

Samples/NiViewer/NiViewer.cpp:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void MouseCallback(int button, int state, int x, int y)
123{
124 mouseInputButton(button, state, int((double)x/windowSize.X*WIN_SIZE_X), int((double)y/windowSize.Y*WIN_SIZE_Y));
125}
126
127void KeyboardCallback(unsigned char key, int /*x*/, int /*y*/)
128{

Callers

nothing calls this directly

Calls 1

mouseInputButtonFunction · 0.85

Tested by

no test coverage detected