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(); }
public byte[] Out() { ArrayByte touchByte = new ArrayByte(); touchByte.WriteInt(type); touchByte.WriteInt(keyCode); touchByte.WriteInt(keyChar); return touchByte.GetData(); }