Home | History | Annotate | Download | only in input

Lines Matching refs:buttons

112     }              buttons;
141 int buttons, BLOCK block)
155 if ((buttons & button1) && !(priv->buttons & button1)) PRESS(1);
156 if (!(buttons & button1) && (priv->buttons & button1)) RELEASE(1);
158 if ((buttons & button2) && !(priv->buttons & button2)) PRESS(2);
159 if (!(buttons & button2) && (priv->buttons & button2)) RELEASE(2);
161 if ((buttons & button3) && !(priv->buttons & button3)) PRESS(3);
162 if (!(buttons & button3) && (priv->buttons & button3)) RELEASE(3);
164 if ((buttons & button4) && !(priv->buttons & button4)) PRESS(4);
165 if (!(buttons & button4) && (priv->buttons & button4)) RELEASE(4);
167 if ((buttons & button5) && !(priv->buttons & button5)) PRESS(5);
168 if (!(buttons & button5) && (priv->buttons & button5)) RELEASE(5);
170 priv->buttons = buttons;