Lines Matching refs:buttons
49 #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;
245 STATEP->buttons |= MOUSE_BUTTON_M;
247 STATEP->buttons &= ~MOUSE_BUTTON_M;
262 if (STATEP->oldbuttons != STATEP->buttons) {
265 ((STATEP->buttons & MOUSE_BUTTON_M) ?
272 STATEP->oldbuttons = STATEP->buttons;