Commit graph

18 commits

Author SHA1 Message Date
Bill Currie
2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Jeff Teunissen
8903d650d2 Makefile.am: misc. fixes to changelog building.
input.h: Use int_val for freelook
cl_input.c: Use freelook macro instead of in_mlook.state
in_svgalib.c: freelook support and whitespace
in_win.c: whitespace and minor optimization in mouse support
in_x11.c: freelook support
vid_ggi.c: joystick support and minor opt in mouse support
vid_sdl.c: joystick support, freelook support, minor mouse opt, spaces->tabs
2000-10-13 05:36:46 +00:00
Jeff Teunissen
50abe6080e Joystick support generalized, autoconfiscated. Systems without joystick
support are built with joy_null.c. To create a joystick driver for a new
system, take a look at joystick.h and joy_null.c for the driver
interface. I'd like to see a Windows driver using this interface, it would
probably simplify in_win.c greatly.
2000-09-26 14:16:09 +00:00
Bill Currie
fb55453675 David Jeffery's linux joystick support ala nuq 2000-09-26 03:21:06 +00:00
Jeff Teunissen
71b841adeb Cvar audit; These files set cvars improperly, by changing their values
without using Cvar_SetValue ().
2000-09-25 06:36:50 +00:00
Bill Currie
9ece49b4e8 fix for Bug #105221 though it seems repeats were ignored anyway. this was done
by backporting the glx/x11 changes from nuq
2000-09-24 03:43:06 +00:00
Bill Currie
1d3935a903 add desti's nodga patch with modifications to control the grabbing of kb and
mouse input
2000-09-21 15:23:35 +00:00
Bill Currie
858a0e5db2 Warp the cursor out of the way for 3dfx users. Hopefully this does the job. 2000-07-27 04:39:01 +00:00
Bill Currie
4f0e4c858a Move the mouse cursor hiding code from in_x11 to vid_{x11,glx} so it is
guaranteed to be done /before/ the glx context is created. Hopefully this
fixes knghtbrd's ugly cursor problem.
2000-07-27 03:37:41 +00:00
Bill Currie
09af993795 source/gl_rsurf.c:
removed commented out line
source/in_x11.c:
	re-enable the mouse warpage.
2000-06-26 10:09:13 +00:00
Loring Holden
63dccb8968 in_x11.c - always define in_dgamouse, so it can be false when there is no DGA
quakefs.c - include strings.h for strcasecmp() under AIX
2000-06-01 03:37:48 +00:00
Marcus Sundberg
4565fd57c7 Fix compilation without DGA. 2000-05-31 22:50:40 +00:00
Joseph Carter
38daae8b5a Seems to fix the DGA issue. Mouse cursor doesn't get hidden if we're in
DGA because the way we hide it doesn't mesh with Mesa+Glide.  There's a
way to do it properly, but it's more trouble than it's worth for now.
2000-05-29 13:42:33 +00:00
Joseph Carter
ef1c6be3df New Cvar function: Cvar_SetFlags. Yes, it's there for completeness.
Some minor changes to DGA code I couldn't be bothered to back out before
I committed.  They don't hurt anything, but they don't really improve
matters much either.  The mouse cursor still doesn't get warped off the
screen, but it's no longer bright blue - now it's black and white like
normal.  I'm rewriting the damned DGA code from scratch to Get It Right
this time.
2000-05-27 16:40:36 +00:00
Joseph Carter
81fd7c2277 DGA seems to work... Something done recently by someone (loring or bill)
caused Voodoo3 users to get a black mouse cursor that kept getting warped
to the center of the screen..  It was rather ugly and hard to play.  So
I added DGA.  That made the mouse cursor blue and stay where it was.  So
I moved the XGrabPointer to after the XWarpPointer, problem seems to be
fixed.  I hope this works for someone other than me.  =p
2000-05-26 12:32:45 +00:00
Bill Currie
1d4f3155b8 fix a core dump on premature exit 2000-05-24 04:45:35 +00:00
Bill Currie
d14e18e42f remove the aliasing of _windowed_mouse as in_grab isn't used as a name in this tree 2000-05-23 09:15:51 +00:00
Bill Currie
3951d1fe4c bring across the VID and IN modules for svga, x11 and glx from OT. 2000-05-23 06:36:33 +00:00