mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
Futureproofing.
This commit is contained in:
parent
3d14b29b38
commit
067080296c
1 changed files with 9 additions and 0 deletions
|
@ -134,6 +134,15 @@ JOY_Move (void)
|
||||||
if (joy_axes[i].current)
|
if (joy_axes[i].current)
|
||||||
viewdelta.position[1] += joy_axes[i].current * mult_joy;
|
viewdelta.position[1] += joy_axes[i].current * mult_joy;
|
||||||
break;
|
break;
|
||||||
|
// Futureproofing
|
||||||
|
case 6:
|
||||||
|
if (joy_axes[i].current)
|
||||||
|
viewdelta.angles[ROLL] += joy_axes[i].current * mult_joy;
|
||||||
|
break;
|
||||||
|
case -6:
|
||||||
|
if (joy_axes[i].current)
|
||||||
|
viewdelta.angles[ROLL] -= joy_axes[i].current * mult_joy;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue