private TS_FP_POINTER_EVENT ParseTsFpInputMouse(byte[] data, ref int currentIndex) { TS_FP_POINTER_EVENT mouse = new TS_FP_POINTER_EVENT(); mouse.pointerFlags = ParseUInt16(data, ref currentIndex, false); mouse.xPos = ParseUInt16(data, ref currentIndex, false); mouse.yPos = ParseUInt16(data, ref currentIndex, false); return mouse; }