Beispiel #1
0
 void Keyboard_KeyDown(object sender, OpenTK.Input.KeyboardKeyEventArgs otk_e)
 {
     if (!CrowInterface.ProcessKeyDown((int)otk_e.Key))
     {
         KeyboardKeyDown.Raise(this, otk_e);
     }
 }
Beispiel #2
0
 protected override void onKeyDown(Glfw.Key key, int scanCode, Modifier modifiers)
 {
     if (crow.ProcessKeyDown((Key)key))
     {
         return;
     }
     base.onKeyDown(key, scanCode, modifiers);
 }
Beispiel #3
0
 public virtual bool ProcessKeyDown(int Key)
 {
     return(CrowInterface.ProcessKeyDown(Key));
 }