Lines Matching refs:motion
78 outMsg->body.motion.seq = msg.body.motion.seq; in sanitizeMessage()
80 outMsg->body.motion.eventTime = msg.body.motion.eventTime; in sanitizeMessage()
82 outMsg->body.motion.deviceId = msg.body.motion.deviceId; in sanitizeMessage()
84 outMsg->body.motion.source = msg.body.motion.source; in sanitizeMessage()
86 outMsg->body.motion.displayId = msg.body.motion.displayId; in sanitizeMessage()
88 outMsg->body.motion.action = msg.body.motion.action; in sanitizeMessage()
90 outMsg->body.motion.actionButton = msg.body.motion.actionButton; in sanitizeMessage()
92 outMsg->body.motion.flags = msg.body.motion.flags; in sanitizeMessage()
94 outMsg->body.motion.metaState = msg.body.motion.metaState; in sanitizeMessage()
96 outMsg->body.motion.buttonState = msg.body.motion.buttonState; in sanitizeMessage()
98 outMsg->body.motion.classification = msg.body.motion.classification; in sanitizeMessage()
100 outMsg->body.motion.edgeFlags = msg.body.motion.edgeFlags; in sanitizeMessage()
102 outMsg->body.motion.downTime = msg.body.motion.downTime; in sanitizeMessage()
104 outMsg->body.motion.xOffset = msg.body.motion.xOffset; in sanitizeMessage()
106 outMsg->body.motion.yOffset = msg.body.motion.yOffset; in sanitizeMessage()
108 outMsg->body.motion.xPrecision = msg.body.motion.xPrecision; in sanitizeMessage()
110 outMsg->body.motion.yPrecision = msg.body.motion.yPrecision; in sanitizeMessage()
112 outMsg->body.motion.pointerCount = msg.body.motion.pointerCount; in sanitizeMessage()
114 for (size_t i = 0; i < msg.body.motion.pointerCount; i++) { in sanitizeMessage()
116 outMsg->body.motion.pointers[i].properties.id = in sanitizeMessage()
117 msg.body.motion.pointers[i].properties.id; in sanitizeMessage()
118 outMsg->body.motion.pointers[i].properties.toolType = in sanitizeMessage()
119 msg.body.motion.pointers[i].properties.toolType; in sanitizeMessage()
121 outMsg->body.motion.pointers[i].coords.bits = in sanitizeMessage()
122 msg.body.motion.pointers[i].coords.bits; in sanitizeMessage()
123 const uint32_t count = BitSet64::count(msg.body.motion.pointers[i].coords.bits); in sanitizeMessage()
124 memcpy(&outMsg->body.motion.pointers[i].coords.values[0], in sanitizeMessage()
125 &msg.body.motion.pointers[i].coords.values[0], in sanitizeMessage()
126 count * sizeof(msg.body.motion.pointers[i].coords.values[0])); in sanitizeMessage()
148 serverMsg.body.motion.pointerCount = MAX_POINTERS; in checkMessage()