Beispiel #1
0
 public virtual IKeyEventHandler KeyDown(object sender, VKeyEventArgs arg)
 {
     FPressedKeyData  = arg.KeyData;
     FPressedKeyCode  = arg.KeyCode;
     FPressedKeyValue = arg.KeyValue;
     FAnyKeyPressed   = true;
     return(this);
 }
Beispiel #2
0
 public virtual IKeyEventHandler KeyUp(object sender, VKeyEventArgs arg)
 {
     FAnyKeyPressed = false;
     return(null);
 }