private void InputMouseMove(MouseEvent <HTMLCanvasElement> e)
 {
     Up.As <Events>().InputMove(e);
     Down.As <Events>().InputMove(e);
     Left.As <Events>().InputMove(e);
     Right.As <Events>().InputMove(e);
     Cancel.As <Events>().InputMove(e);
     Button1.As <Events>().InputMove(e);
 }
 private void InputKeyUp(KeyboardEvent e)
 {
     Up.As <Events>().InputUp(e);
     Down.As <Events>().InputUp(e);
     Left.As <Events>().InputUp(e);
     Right.As <Events>().InputUp(e);
     Cancel.As <Events>().InputUp(e);
     Button1.As <Events>().InputUp(e);
 }