Home
last modified time | relevance | path

Searched refs:mouse_buttonstate (Results 1 – 12 of 12) sorted by relevance

/external/quake/quake/src/QW/client/
Dgl_vidlinux.c91 int mouse_buttonstate; variable
661 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()
Dgl_vidlinux_svga.c89 int mouse_buttonstate; variable
699 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()
Dvid_svgalib.c91 int mouse_buttonstate; variable
838 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()
Dgl_vidlinux_x11.c65 static int mouse_buttonstate; variable
368 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()
Dvid_x.c57 int mouse_buttonstate; variable
839 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()
/external/quake/quake/src/WinQuake/
Dgl_vidlinux.cpp90 int mouse_buttonstate; variable
713 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()
Dvid_svgalib.cpp91 int mouse_buttonstate; variable
825 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()
Dgl_vidandroid.cpp30 bool mouse_buttonstate; variable
680 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()
Din_dos.cpp83 int mouse_buttonstate; variable
205 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()
Dvid_sunxil.cpp91 int mouse_buttonstate; variable
871 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()
Dvid_x.cpp51 int mouse_buttonstate; variable
914 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()
Dvid_sunx.cpp47 int mouse_buttonstate; variable
1212 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()