Lines Matching refs:motion
81 outMsg->body.motion.eventId = msg.body.key.eventId; in sanitizeMessage()
83 outMsg->body.motion.pointerCount = msg.body.motion.pointerCount; in sanitizeMessage()
85 outMsg->body.motion.eventTime = msg.body.motion.eventTime; in sanitizeMessage()
87 outMsg->body.motion.deviceId = msg.body.motion.deviceId; in sanitizeMessage()
89 outMsg->body.motion.source = msg.body.motion.source; in sanitizeMessage()
91 outMsg->body.motion.displayId = msg.body.motion.displayId; in sanitizeMessage()
93 outMsg->body.motion.hmac = msg.body.motion.hmac; in sanitizeMessage()
95 outMsg->body.motion.action = msg.body.motion.action; in sanitizeMessage()
97 outMsg->body.motion.actionButton = msg.body.motion.actionButton; in sanitizeMessage()
99 outMsg->body.motion.flags = msg.body.motion.flags; in sanitizeMessage()
101 outMsg->body.motion.metaState = msg.body.motion.metaState; in sanitizeMessage()
103 outMsg->body.motion.buttonState = msg.body.motion.buttonState; in sanitizeMessage()
105 outMsg->body.motion.classification = msg.body.motion.classification; in sanitizeMessage()
107 outMsg->body.motion.edgeFlags = msg.body.motion.edgeFlags; in sanitizeMessage()
109 outMsg->body.motion.downTime = msg.body.motion.downTime; in sanitizeMessage()
111 outMsg->body.motion.dsdx = msg.body.motion.dsdx; in sanitizeMessage()
113 outMsg->body.motion.dtdx = msg.body.motion.dtdx; in sanitizeMessage()
115 outMsg->body.motion.dtdy = msg.body.motion.dtdy; in sanitizeMessage()
117 outMsg->body.motion.dsdy = msg.body.motion.dsdy; in sanitizeMessage()
119 outMsg->body.motion.tx = msg.body.motion.tx; in sanitizeMessage()
121 outMsg->body.motion.ty = msg.body.motion.ty; in sanitizeMessage()
123 outMsg->body.motion.xPrecision = msg.body.motion.xPrecision; in sanitizeMessage()
125 outMsg->body.motion.yPrecision = msg.body.motion.yPrecision; in sanitizeMessage()
127 outMsg->body.motion.xCursorPosition = msg.body.motion.xCursorPosition; in sanitizeMessage()
129 outMsg->body.motion.yCursorPosition = msg.body.motion.yCursorPosition; in sanitizeMessage()
131 outMsg->body.motion.dsdxRaw = msg.body.motion.dsdxRaw; in sanitizeMessage()
133 outMsg->body.motion.dtdxRaw = msg.body.motion.dtdxRaw; in sanitizeMessage()
135 outMsg->body.motion.dtdyRaw = msg.body.motion.dtdyRaw; in sanitizeMessage()
137 outMsg->body.motion.dsdyRaw = msg.body.motion.dsdyRaw; in sanitizeMessage()
139 outMsg->body.motion.txRaw = msg.body.motion.txRaw; in sanitizeMessage()
141 outMsg->body.motion.tyRaw = msg.body.motion.tyRaw; in sanitizeMessage()
143 for (size_t i = 0; i < msg.body.motion.pointerCount; i++) { in sanitizeMessage()
145 outMsg->body.motion.pointers[i].properties.id = in sanitizeMessage()
146 msg.body.motion.pointers[i].properties.id; in sanitizeMessage()
147 outMsg->body.motion.pointers[i].properties.toolType = in sanitizeMessage()
148 msg.body.motion.pointers[i].properties.toolType; in sanitizeMessage()
150 outMsg->body.motion.pointers[i].coords.bits = in sanitizeMessage()
151 msg.body.motion.pointers[i].coords.bits; in sanitizeMessage()
152 const uint32_t count = BitSet64::count(msg.body.motion.pointers[i].coords.bits); in sanitizeMessage()
153 memcpy(&outMsg->body.motion.pointers[i].coords.values[0], in sanitizeMessage()
154 &msg.body.motion.pointers[i].coords.values[0], in sanitizeMessage()
155 count * sizeof(msg.body.motion.pointers[i].coords.values[0])); in sanitizeMessage()
156 outMsg->body.motion.pointers[i].coords.isResampled = in sanitizeMessage()
157 msg.body.motion.pointers[i].coords.isResampled; in sanitizeMessage()
199 msg.body.motion.pointerCount = MAX_POINTERS; in makeMessageValid()