示例#1
0
 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;
 }
示例#3
0
 public static extern GlfwActionState GetKey(GlfwKeys key);
示例#4
0
 public static extern GlfwActionState GetKey(GlfwKeys key);