Home
last modified time | relevance | path

Searched refs:USBMS_BUT (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/usb/clients/usbms/
H A Dusbms.h201 #define USBMS_BUT(i) 1 << (i - 1) macro
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/
H A Dusbms.c676 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()