Lines Matching refs:button
142 aprint_normal(", 1 button");
222 int dx, dy, dz, button;
253 * The packet can contain both a mouse motion and a button event.
299 * Correct Y direction for button boxes.
308 button = *buf;
311 * a boolean behaviour, as an extra mouse button, which is
317 * to a pseudo fourth button - even if the tablet never
320 button = (button - 0x80) >> 1;
321 if (button > 4)
322 button = 4;
326 sc->sc_buttonstate &= ~(1 << button);
329 sc->sc_buttonstate |= (1 << button);