Couple of tweeks, breakages, and fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3898 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
df9dae3e5f
commit
5a7f34bd50
32 changed files with 230 additions and 134 deletions
|
@ -128,10 +128,6 @@ DWORD dwAxisMap[JOY_MAX_AXES];
|
|||
DWORD dwControlMap[JOY_MAX_AXES];
|
||||
PDWORD pdwRawValue[JOY_MAX_AXES];
|
||||
|
||||
#ifdef IN_XFLIP
|
||||
cvar_t in_xflip = SCVAR("in_xflip", "0");
|
||||
#endif
|
||||
|
||||
// none of these cvars are saved over a session
|
||||
// this means that advanced controller configuration needs to be executed
|
||||
// each time. this avoids any problems with getting back to a default usage
|
||||
|
@ -1135,10 +1131,6 @@ void IN_Init (void)
|
|||
if (COM_CheckParm ("-dinput"))
|
||||
Cvar_Set(&in_dinput, "1");
|
||||
|
||||
#ifdef IN_XFLIP
|
||||
Cvar_Register (&in_xflip, "Input stuff");
|
||||
#endif
|
||||
|
||||
// joystick variables
|
||||
Cvar_Register (&in_joystick, "Joystick variables");
|
||||
|
||||
|
@ -1304,9 +1296,7 @@ static void ProcessMouse(mouse_t *mouse, float *movements, int pnum)
|
|||
mouse->delta[1]=0;
|
||||
|
||||
|
||||
#ifdef IN_XFLIP
|
||||
if(in_xflip.value) mx *= -1;
|
||||
#endif
|
||||
|
||||
mousemove_x += mx;
|
||||
mousemove_y += my;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue