Home | History | Annotate | Download | only in x68k

Lines Matching refs:buttons

55  * We track buttons 1 and 3 (left and right).  There are 11 states:
84 * 0: no buttons down
87 * 3: both buttons down
89 * Note that button events are not deltas, they are the set of buttons being
114 /* The set of buttons being pressed passed from DDX mouse events */
119 /* Event index values per buttons being pressed */
130 struct button_action buttons[NEMU_BUTTONSTATE];
139 * If the buttons are in <button state>, generate <events> then go to
147 .buttons[EMU_BUTTONS_NONE] = {
154 .buttons[EMU_BUTTONS_LEFT] = {
161 .buttons[EMU_BUTTONS_RIGHT] = {
168 .buttons[EMU_BUTTONS_BOTH] = {
186 .buttons[EMU_BUTTONS_NONE] = {
193 .buttons[EMU_BUTTONS_LEFT] = {
200 .buttons[EMU_BUTTONS_RIGHT] = {
207 .buttons[EMU_BUTTONS_BOTH] = {
225 .buttons[EMU_BUTTONS_NONE] = {
232 .buttons[EMU_BUTTONS_LEFT] = {
239 .buttons[EMU_BUTTONS_RIGHT] = {
246 .buttons[EMU_BUTTONS_BOTH] = {
264 .buttons[EMU_BUTTONS_NONE] = {
271 .buttons[EMU_BUTTONS_LEFT] = {
278 .buttons[EMU_BUTTONS_RIGHT] = {
285 .buttons[EMU_BUTTONS_BOTH] = {
303 .buttons[EMU_BUTTONS_NONE] = {
310 .buttons[EMU_BUTTONS_LEFT] = {
317 .buttons[EMU_BUTTONS_RIGHT] = {
324 .buttons[EMU_BUTTONS_BOTH] = {
342 .buttons[EMU_BUTTONS_NONE] = {
349 .buttons[EMU_BUTTONS_LEFT] = {
356 .buttons[EMU_BUTTONS_RIGHT] = {
363 .buttons[EMU_BUTTONS_BOTH] = {
381 .buttons[EMU_BUTTONS_NONE] = {
388 .buttons[EMU_BUTTONS_LEFT] = {
395 .buttons[EMU_BUTTONS_RIGHT] = {
402 .buttons[EMU_BUTTONS_BOTH] = {
420 .buttons[EMU_BUTTONS_NONE] = {
427 .buttons[EMU_BUTTONS_LEFT] = {
434 .buttons[EMU_BUTTONS_RIGHT] = {
441 .buttons[EMU_BUTTONS_BOTH] = {
459 .buttons[EMU_BUTTONS_NONE] = {
466 .buttons[EMU_BUTTONS_LEFT] = {
473 .buttons[EMU_BUTTONS_RIGHT] = {
480 .buttons[EMU_BUTTONS_BOTH] = {
498 .buttons[EMU_BUTTONS_NONE] = {
505 .buttons[EMU_BUTTONS_LEFT] = {
512 .buttons[EMU_BUTTONS_RIGHT] = {
519 .buttons[EMU_BUTTONS_BOTH] = {
537 .buttons[EMU_BUTTONS_NONE] = {
544 .buttons[EMU_BUTTONS_LEFT] = {
551 .buttons[EMU_BUTTONS_RIGHT] = {
558 .buttons[EMU_BUTTONS_BOTH] = {
638 * 3 buttons.
712 * (int)buttons : button (Button1 / Button2 / Button3)
713 * (int)bmask : buttons being pressed (0x1:left / 0x4:right)
718 Emulate3ButtonsQueueEvent(MouseEmu3btnPtr pEmu3btn, int type, int buttons, int bmask)
725 BUG_RETURN_MSG(buttons != ButtonLeft && buttons != ButtonRight,
739 &stateTab[pEmu3btn->emulateState].buttons[emulateButtons];
768 QueuePointerEvents(device, type, buttons, flag, &mask);