Lines Matching defs:button
40 #include "exevents.h" /* for button/axes labels */
44 /* Peek the internal button mapping */
99 /* initalize button map */
125 g_winMouseButtonMap = pDeviceInt->button->map;
148 int button; /* Button4 or Button5 */
196 /* Set the button to indicate up or down wheel delta */
199 button = Button4;
203 button = Button5;
209 * button clicks for the Z axis.
219 /* Push the wheel button */
220 winMouseButtonsSendEvent (ButtonPress, button);
222 /* Release the wheel button */
223 winMouseButtonsSendEvent (ButtonRelease, button);
231 * Enqueue a mouse button event
271 /* Send button events right away if emulate 3 buttons is off */
274 /* Emulate 3 buttons is off, send the button event */
286 * and there is no fake button 2 release pending.
289 /* Store button press type */
293 * Set a timer to send this button press if the other button
307 * Button press is cached, other button was pressed,
308 * and there is no fake button 2 release pending.
311 /* Mouse button was cached and other button was pressed */
315 /* Send fake middle button */
318 /* Indicate that a fake middle button event was sent */
325 * Cached button was released before timer ran out,
326 * and before the other mouse button was pressed.
341 * Fake button 2 was sent and both mouse buttons have now been released
345 /* Send middle mouse button release */
353 * Button was release, no button is cached,
354 * and there is no fake button 2 release is pending.