private ParseTsFpInputMouse ( byte data, int ¤tIndex ) : TS_FP_POINTER_EVENT | ||
data | byte | data to be parsed |
currentIndex | int | current parser index |
Результат | TS_FP_POINTER_EVENT |
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;
}