mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
[qw,nq] Correct the axis modes
It turns out accumulate is not really suitable now that relative axis accumulation is done in the binding processing, and was never suitable for absolute inputs (in this context, of course: there are contexts where accumulate is suitable for absolute inputs).
This commit is contained in:
parent
1ef99a9130
commit
06c21d3c34
2 changed files with 12 additions and 12 deletions
|
@ -57,33 +57,33 @@ int cl_demo_context;
|
|||
static int cl_event_id;
|
||||
|
||||
in_axis_t viewdelta_position_forward = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.forward",
|
||||
.description = "Move forward (negative) or backward (positive)",
|
||||
};
|
||||
in_axis_t viewdelta_position_side = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.side",
|
||||
.description = "Move right (positive) or left (negative)",
|
||||
};
|
||||
in_axis_t viewdelta_position_up = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.up",
|
||||
.description = "Move up (positive) or down (negative)",
|
||||
};
|
||||
|
||||
in_axis_t viewdelta_angles_pitch = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.pitch",
|
||||
.description = "Pitch axis",
|
||||
};
|
||||
in_axis_t viewdelta_angles_yaw = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.yaw",
|
||||
.description = "Yaw axis",
|
||||
};
|
||||
in_axis_t viewdelta_angles_roll = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.roll",
|
||||
.description = "Roll axis",
|
||||
};
|
||||
|
|
|
@ -71,33 +71,33 @@ cvar_t *cl_maxnetfps;
|
|||
cvar_t *cl_spamimpulse;
|
||||
|
||||
in_axis_t viewdelta_position_forward = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.forward",
|
||||
.description = "Move forward (negative) or backward (positive)",
|
||||
};
|
||||
in_axis_t viewdelta_position_side = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.side",
|
||||
.description = "Move right (positive) or left (negative)",
|
||||
};
|
||||
in_axis_t viewdelta_position_up = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.up",
|
||||
.description = "Move up (positive) or down (negative)",
|
||||
};
|
||||
|
||||
in_axis_t viewdelta_angles_pitch = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.pitch",
|
||||
.description = "Pitch axis",
|
||||
};
|
||||
in_axis_t viewdelta_angles_yaw = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.yaw",
|
||||
.description = "Yaw axis",
|
||||
};
|
||||
in_axis_t viewdelta_angles_roll = {
|
||||
.mode = ina_accumulate,
|
||||
.mode = ina_set,
|
||||
.name = "move.roll",
|
||||
.description = "Roll axis",
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue