Lines Matching refs:Urb
162 VUSBURB Urb;
165 RT_ZERO(Urb);
174 Urb.EndPt = 0x01;
175 rc = g_UsbHidMou.pfnUrbQueue(pThis, &Urb);
182 if (pUrb == &Urb)
184 if ( Urb.abData[0] != 3 /* Buttons */
185 || Urb.abData[1] != 123 /* x */
186 || Urb.abData[2] != 240 /* 256 - y */
187 || Urb.abData[3] != 255 /* z */)
205 VUSBURB Urb;
208 RT_ZERO(Urb);
223 Urb.EndPt = 0x01;
224 rc = g_UsbHidMou.pfnUrbQueue(pThis, &Urb);
231 if (pUrb == &Urb)
233 if ( Urb.abData[0] != 3 /* Buttons */
234 || (int8_t)Urb.abData[1] != -1 /* dz */
235 || (int8_t)Urb.abData[2] != -3 /* dw */
236 || *(uint16_t *)&Urb.abData[4] != 150 /* x >> 1 */
237 || *(uint16_t *)&Urb.abData[6] != 100 /* y >> 1 */)
256 VUSBURB Urb;
259 RT_ZERO(Urb);
274 Urb.EndPt = 0x01;
275 rc = g_UsbHidMou.pfnUrbQueue(pThis, &Urb);
282 if (pUrb == &Urb)
284 if ( Urb.abData[0] != 1 /* Report ID */
285 || Urb.abData[1] != 3 /* Contact flags */
286 || *(uint16_t *)&Urb.abData[2] != 150 /* x >> 1 */
287 || *(uint16_t *)&Urb.abData[4] != 100 /* y >> 1 */
288 || Urb.abData[6] != 2 /* Contact number */)