Exemplo n.º 1
0
 public byte[] Out()
 {
     ArrayByte touchByte = new ArrayByte();
     touchByte.WriteInt(X());
     touchByte.WriteInt(Y());
     touchByte.WriteInt(GetButton());
     touchByte.WriteInt(GetPointer());
     touchByte.WriteInt(GetCode());
     return touchByte.GetData();
 }
Exemplo n.º 2
0
 public byte[] Out()
 {
     ArrayByte touchByte = new ArrayByte();
     touchByte.WriteInt(type);
     touchByte.WriteInt(keyCode);
     touchByte.WriteInt(keyChar);
     return touchByte.GetData();
 }