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