Home | History | Annotate | Download | only in input

Lines Matching defs:buttons

116     }              buttons;
144 static void msLinuxButton(DevicePtr pDev, ENQUEUEPROC enqueue, int buttons,
159 if ((buttons & button1) && !(priv->buttons & button1)) PRESS(1);
160 if (!(buttons & button1) && (priv->buttons & button1)) RELEASE(1);
162 if ((buttons & button2) && !(priv->buttons & button2)) PRESS(2);
163 if (!(buttons & button2) && (priv->buttons & button2)) RELEASE(2);
165 if ((buttons & button3) && !(priv->buttons & button3)) PRESS(3);
166 if (!(buttons & button3) && (priv->buttons & button3)) RELEASE(3);
168 if ((buttons & button4) && !(priv->buttons & button4)) PRESS(4);
169 if (!(buttons & button4) && (priv->buttons & button4)) RELEASE(4);
171 if ((buttons & button5) && !(priv->buttons & button5)) PRESS(5);
172 if (!(buttons & button5) && (priv->buttons & button5)) RELEASE(5);
174 priv->buttons = buttons;