예제 #1
0
 public CompositorToggler(string compositorName, MOIS.KeyCode keyCode, Viewport vp)
 {
     this.compositorName = compositorName;
     this.keyCode        = keyCode;
     this.vp             = vp;
 }
예제 #2
0
 public CompositorToggler(string compositorName, MOIS.KeyCode keyCode, Viewport vp)
 {
     this.compositorName = compositorName;
     this.keyCode = keyCode;
     this.vp = vp;
 }
예제 #3
0
 public bool IsKeyTyped(MOIS.KeyCode code)
 {
     return(TypedInput.IsKeyTyped[(int)code]);
 }
예제 #4
0
 public bool onKeyPressed(MOIS.KeyEvent arg)
 {
     Text = (char)arg.text;
     last = arg.key;
     return(true);
 }