Allow analog joystick up axis to be remapped too.

This commit is contained in:
Zack Middleton 2012-02-15 18:09:24 +00:00
parent 6c8a9af300
commit 91fd58f6e4
3 changed files with 7 additions and 1 deletions

View file

@ -418,7 +418,7 @@ void CL_JoystickMove( usercmd_t *cmd ) {
cmd->forwardmove = ClampChar( cmd->forwardmove + (int) (j_forward->value * cl.joystickAxis[j_forward_axis->integer]) );
}
cmd->upmove = ClampChar( cmd->upmove + cl.joystickAxis[AXIS_UP] );
cmd->upmove = ClampChar( cmd->upmove + (int) (j_up->value * cl.joystickAxis[j_up_axis->integer]) );
}
/*