Home
last modified time | relevance | path

Searched refs:ms_eventstate (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/sun/io/
H A Dms.c560 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;
/titanic_44/usr/src/uts/common/io/usb/clients/usbms/
H A Dusbms.c554 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 …]
/titanic_44/usr/src/uts/common/sys/
H A Dmsreg.h72 short ms_eventstate; /* current event being generated */ member