Searched refs:mi_buttons (Results 1 – 4 of 4) sorted by relevance
513 *cp++ = 0x80 | (mi->mi_buttons & 0xFF); in usbms_rserv()515 ms->ms_prevbuttons = mi->mi_buttons; in usbms_rserv()730 (mi->mi_buttons & hwbit)) { in usbms_rserv_vuid_button()746 if (mi->mi_buttons & hwbit) { in usbms_rserv_vuid_button()1733 mi->mi_buttons = (char)USB_NO_BUT_PRESSED; in usbms_input()1735 mi->mi_buttons = mi->mi_buttons & USB_LEFT_BUT_PRESSED; in usbms_input()1741 mi->mi_buttons = mi->mi_buttons & USB_RIGHT_BUT_PRESSED; in usbms_input()1747 mi->mi_buttons = mi->mi_buttons & in usbms_input()1757 mi->mi_buttons = mi->mi_buttons & in usbms_input()1808 if (!(mi->mi_z) && (mi->mi_buttons == usbmsp->usbms_oldbutt)) { in usbms_input()[all …]
529 *cp++ = 0x80 | mi->mi_buttons;531 ms->ms_prevbuttons = mi->mi_buttons;569 (mi->mi_buttons & hwbit)) {578 if (mi->mi_buttons & hwbit) {1134 mi->mi_buttons = c & (MS_HW_BUT1 | MS_HW_BUT2 | MS_HW_BUT3);1192 if (mi->mi_buttons == msd->msd_oldbutt) {1219 msd->msd_oldbutt = mi->mi_buttons;1261 oldbutt = mi->mi_buttons; in msincr()1290 mi->mi_buttons = oldbutt; in msincr()
51 char mi_buttons; /* set of buttons that are currently down */ member
40 int mi_buttons; /* current button status */ member