Searched refs:mouse_buttonstate (Results 1 – 12 of 12) sorted by relevance
91 int mouse_buttonstate; variable661 mouse_buttonstate = buttonstate; in mousehandler()727 if ((mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()730 else if (!(mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()734 if ((mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()737 else if (!(mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()741 if ((mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()744 else if (!(mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()748 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
89 int mouse_buttonstate; variable699 mouse_buttonstate = buttonstate; in mousehandler()765 if ((mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()768 else if (!(mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()772 if ((mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()775 else if (!(mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()779 if ((mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()782 else if (!(mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()786 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
91 int mouse_buttonstate; variable838 mouse_buttonstate = buttonstate; in mousehandler()907 if ((mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()910 else if (!(mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()914 if ((mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()917 else if (!(mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()921 if ((mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()924 else if (!(mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()928 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
65 static int mouse_buttonstate; variable368 mouse_buttonstate |= 1<<b; in Mouse_Update()380 mouse_buttonstate &= ~(1<<b); in Mouse_Update()814 if ( (mouse_buttonstate & (1<<i)) && !(mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()817 if ( !(mouse_buttonstate & (1<<i)) && (mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()821 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
57 int mouse_buttonstate; variable839 mouse_buttonstate |= 1<<b; in GetEvent()851 mouse_buttonstate &= ~(1<<b); in GetEvent()1062 if ( (mouse_buttonstate & (1<<i)) && !(mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1065 if ( !(mouse_buttonstate & (1<<i)) && (mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1068 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
90 int mouse_buttonstate; variable713 mouse_buttonstate = buttonstate; in mousehandler()779 if ((mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()782 else if (!(mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()786 if ((mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()789 else if (!(mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()793 if ((mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()796 else if (!(mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()800 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
91 int mouse_buttonstate; variable825 mouse_buttonstate = buttonstate; in mousehandler()894 if ((mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()897 else if (!(mouse_buttonstate & MOUSE_LEFTBUTTON) && in IN_Commands()901 if ((mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()904 else if (!(mouse_buttonstate & MOUSE_RIGHTBUTTON) && in IN_Commands()908 if ((mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()911 else if (!(mouse_buttonstate & MOUSE_MIDDLEBUTTON) && in IN_Commands()915 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
30 bool mouse_buttonstate; variable680 mouse_buttonstate = true; in AndroidTrackballEvent()683 mouse_buttonstate = false; in AndroidTrackballEvent()730 if (mouse_buttonstate != mouse_oldbuttonstate) { in IN_Commands()731 Key_Event (K_MOUSE1, mouse_buttonstate ? true : false); in IN_Commands()732 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
83 int mouse_buttonstate; variable205 mouse_buttonstate = regs.x.bx; in IN_Commands()210 if ( (mouse_buttonstate & (1<<i)) && in IN_Commands()215 if ( !(mouse_buttonstate & (1<<i)) && in IN_Commands()222 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
91 int mouse_buttonstate; variable871 mouse_buttonstate |= 1<<b; in GetEvent()883 mouse_buttonstate &= ~(1<<b); in GetEvent()1239 if ( (mouse_buttonstate & (1<<i)) && !(mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1242 if ( !(mouse_buttonstate & (1<<i)) && (mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1245 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
51 int mouse_buttonstate; variable914 mouse_buttonstate |= 1<<b; in GetEvent()926 mouse_buttonstate &= ~(1<<b); in GetEvent()1154 if ( (mouse_buttonstate & (1<<i)) && !(mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1157 if ( !(mouse_buttonstate & (1<<i)) && (mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1160 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()
47 int mouse_buttonstate; variable1212 if ( (mouse_buttonstate & (1<<i)) && !(mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1215 if ( !(mouse_buttonstate & (1<<i)) && (mouse_oldbuttonstate & (1<<i)) ) in IN_Commands()1218 mouse_oldbuttonstate = mouse_buttonstate; in IN_Commands()