protected virtual void OnKey(GlfwKeys key, GlfwActionState action) { // since this is not overriden, disable this. //glfw2.SetKeyCallback(null); if (key == GlfwKeys.Escape && action == GlfwActionState.Released) { flagRunning = false; } }
protected virtual void OnKey(GlfwKeys key, GlfwActionState action) { // since this is not overriden, disable this. //glfw2.SetKeyCallback(null); if (key == GlfwKeys.Escape && action == GlfwActionState.Released) flagRunning = false; }
public static extern GlfwActionState GetKey(GlfwKeys key);