Lines Matching defs:buttons
305 static const int buttons[] = {
316 *btn = buttons[(val & 0x30) >> 4];
711 * (scrolling wheel, 4th and 5th buttons)
736 if (pad->buttons == 0x06) {
815 int ver, rev, buttons;
820 fsp_get_buttons(psmouse, &buttons)) {
825 "Finger Sensing Pad, hw: %d.%d.%d, sw: %s, buttons: %d\n",
826 ver >> 4, ver & 0x0F, rev, fsp_drv_ver, buttons & 7);
834 priv->buttons = buttons;
852 /* set default packet output based on number of buttons we found */