Lines Matching refs:mouse_event_queue
193 MouseEventQueue mouse_event_queue;
272 MouseEventQueue *meq = &s->mouse_event_queue;
371 MouseEventQueue *meq = &s->mouse_event_queue;
727 AssertReturn(s->mouse_event_queue.count <= MOUSE_EVENT_QUEUE_SIZE, 0);
728 return MOUSE_EVENT_QUEUE_SIZE - s->mouse_event_queue.count;
850 s->mouse_event_queue.count = 0;
851 s->mouse_event_queue.rptr = 0;
852 s->mouse_event_queue.wptr = 0;
879 s->mouse_event_queue.count = 0;
880 s->mouse_event_queue.rptr = 0;
881 s->mouse_event_queue.wptr = 0;
1076 meq = &s->mouse_event_queue;
1116 cItems = s->mouse_event_queue.count;
1118 for (i = s->mouse_event_queue.rptr; cItems-- > 0; i = (i + 1) % RT_ELEMENTS(s->mouse_event_queue.data))
1119 SSMR3PutU8(pSSM, s->mouse_event_queue.data[i]);
1120 Log(("kbd_save: %d mouse event queue items stored\n", s->mouse_event_queue.count));
1183 s->mouse_event_queue.count = 0;
1184 s->mouse_event_queue.rptr = 0;
1185 s->mouse_event_queue.wptr = 0;
1267 if (u32 > RT_ELEMENTS(s->mouse_event_queue.data))
1274 rc = SSMR3GetU8(pSSM, &s->mouse_event_queue.data[i]);
1278 s->mouse_event_queue.wptr = u32 % RT_ELEMENTS(s->mouse_event_queue.data);
1279 s->mouse_event_queue.count = u32;