Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public static extern GlfwActionState GetKey(GlfwKeys key);
Ejemplo n.º 4
0
 public static extern GlfwActionState GetKey(GlfwKeys key);