Searched refs:USBMS_BUT (Results 1 – 2 of 2) sorted by relevance
201 #define USBMS_BUT(i) 1 << (i - 1) macro
676 hwbit = USBMS_BUT(nbutt) >> (EVENT_BUT(nbutt) - in usbms_rserv_vuid_button()1676 if (c & USBMS_BUT(1)) { /* left button is pressed */ in usbms_input()1682 if (c & USBMS_BUT(2)) { /* right button is pressed */ in usbms_input()1688 if (c & USBMS_BUT(3)) { /* middle button is pressed */ in usbms_input()1698 if (c & USBMS_BUT(i)) { in usbms_input()