Searched refs:buttons (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/vuidmice/
H A Dvuidm4p.c49 #define MOUSE_NUMBUTTONS 3 /* Number of buttons */
70 * based on the mouse's startup behavior - "M" means 2 buttons,
71 * "M3" means 3 buttons - but that's for another day.
87 if ((STATEP->buttons & mask) != (STATEP->oldbuttons & mask))
89 ((STATEP->buttons & mask) ? 1 : 0));
131 STATEP->buttons = 0;
134 STATEP->buttons |=
170 STATEP->buttons |=
184 if (STATEP->buttons != STATEP->oldbuttons) {
191 STATEP->oldbuttons = STATEP->buttons;
[all...]
H A Dvuidm3p.c67 if ((STATEP->buttons == 0x30) && (!STATEP->oldbuttons)) {
69 * both buttons going down simultaneously means button
74 } else if ((!STATEP->buttons) && (STATEP->oldbuttons == 0x30)) {
76 * both buttons going up simultaneously means button
89 if ((STATEP->buttons & mask) != (STATEP->oldbuttons & mask))
91 (STATEP->buttons & mask ? 1 : 0));
128 STATEP->buttons = code & 0x30;
130 if (STATEP->buttons != STATEP->oldbuttons) {
135 STATEP->oldbuttons = STATEP->buttons;
H A Dvuidm5p.c36 #define LOGI_NUMBUTTONS 3 /* Number of buttons */
73 if ((STATEP->buttons&mask) != (STATEP->oldbuttons&mask))
75 (STATEP->buttons & mask ? 1 : 0));
106 STATEP->buttons = (~code) & LOGI_BMASK;
183 /* see if the buttons have changed */
184 if (STATEP->buttons != STATEP->oldbuttons) {
185 /* buttons have changed */
189 STATEP->oldbuttons = STATEP->buttons;
H A Dvuidmice.h35 uchar_t buttons; /* current button state */ member in struct:MouseStateInfo
H A Dvuidps2.c29 * This module dynamically determines the number of buttons on the mouse.
195 if ((STATEP->buttons & mask) != (STATEP->oldbuttons & mask))
197 (STATEP->buttons & mask ? 1 : 0));
411 STATEP->buttons = code & PS2_BUTTONMASK;
412 if (STATEP->buttons != STATEP->oldbuttons) {
414 STATEP->oldbuttons = STATEP->buttons;
/illumos-gate/usr/src/cmd/hal/fdi/
H A DMakefile46 policy/10osvendor/10-toshiba-buttons.fdi \

Completed in 68 milliseconds