Searched refs:ms_eventstate (Results 1 – 3 of 3) sorted by relevance
560 switch (ms->ms_eventstate) {566 button_number = ms->ms_eventstate - EVENT_BUT1;597 ms->ms_eventstate = EVENT_X;625 ms->ms_eventstate = EVENT_X;652 ms->ms_eventstate = EVENT_X;663 if (ms->ms_eventstate == EVENT_X) {664 ms->ms_eventstate = EVENT_BUT3;671 ms->ms_eventstate--;891 ms->ms_eventstate = EVENT_BUT3;
554 switch (ms->ms_eventstate) { in usbms_rserv()589 ms->ms_eventstate = EVENT_WHEEL; in usbms_rserv()598 if (ms->ms_eventstate == EVENT_X) { in usbms_rserv()599 ms->ms_eventstate = EVENT_WHEEL; in usbms_rserv()600 } else if (ms->ms_eventstate == EVENT_WHEEL) { in usbms_rserv()606 ms->ms_eventstate = EVENT_BUT(nbutt); in usbms_rserv()608 ms->ms_eventstate--; in usbms_rserv()609 } while (ms->ms_eventstate != EVENT_BUT(nbutt)); in usbms_rserv()663 ms->ms_eventstate = EVENT_WHEEL; in usbms_rserv_vuid_event_wheel()690 button_number = nbutt - (EVENT_BUT(nbutt) - ms->ms_eventstate) - 1; in usbms_rserv_vuid_button()[all …]
72 short ms_eventstate; /* current event being generated */ member