Lines Matching defs:button
40 #include "exevents.h" /* for button/axes labels */
44 /* Peek the internal button mapping */
103 /* initialize button map */
129 g_winMouseButtonMap = pDeviceInt->button->map;
150 int button;
189 /* Set the button to indicate up or down wheel delta */
191 button = iButtonUp;
194 button = iButtonDown;
200 * button clicks for the Z axis.
208 /* Push the wheel button */
209 winMouseButtonsSendEvent(ButtonPress, button);
211 /* Release the wheel button */
212 winMouseButtonsSendEvent(ButtonRelease, button);
219 * Enqueue a mouse button event
251 /* Send button events right away if emulate 3 buttons is off */
253 /* Emulate 3 buttons is off, send the button event */
264 * and there is no fake button 2 release pending.
267 /* Store button press type */
271 * Set a timer to send this button press if the other button
282 * Button press is cached, other button was pressed,
283 * and there is no fake button 2 release pending.
286 /* Mouse button was cached and other button was pressed */
290 /* Send fake middle button */
293 /* Indicate that a fake middle button event was sent */
299 * Cached button was released before timer ran out,
300 * and before the other mouse button was pressed.
313 * Fake button 2 was sent and both mouse buttons have now been released
317 /* Send middle mouse button release */
324 * Button was release, no button is cached,
325 * and there is no fake button 2 release is pending.