*/
void IN_MouseMove (usercmd_t *cmd)
{
- int i, mx, my, mouselook = (in_mlook.state & 1) || freelook.integer;
+ int i, mx, my;
DIDEVICEOBJECTDATA od;
DWORD dwElements;
HRESULT hr;
int numdevs;
JOYCAPS jc;
MMRESULT mmr;
+ mmr = 0;
// assume no joystick
joy_avail = false;
else
{
// read error occurred
- // turning off the joystick seems too harsh for 1 read error,\
+ // turning off the joystick seems too harsh for 1 read error,
// but what should be done?
// Con_Printf ("IN_ReadJoystick: no response\n");
// joy_avail = false;