mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Terminate the option arrays.
Before they terminate QF.
This commit is contained in:
parent
1a33d2f682
commit
dfbb68d573
1 changed files with 13 additions and 11 deletions
|
@ -213,21 +213,23 @@ typedef struct {
|
|||
} js_opts_t;
|
||||
|
||||
js_dests_t js_dests[] = {
|
||||
{"none", js_none}, // ignore axis
|
||||
{"movement", js_position}, // linear delta
|
||||
{"aim", js_angles}, // linear delta
|
||||
{"button", js_button}, // axis button
|
||||
{"none", js_none}, // ignore axis
|
||||
{"movement", js_position}, // linear delta
|
||||
{"aim", js_angles}, // linear delta
|
||||
{"button", js_button}, // axis button
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
|
||||
js_opts_t js_opts[] = {
|
||||
{"clear", js_clear},
|
||||
{"amp", js_amp},
|
||||
{"pre_amp", js_pre_amp},
|
||||
{"deadzone", js_deadzone},
|
||||
{"offset", js_offset},
|
||||
{"type", js_type},
|
||||
{"button", js_axis_button},
|
||||
{"clear", js_clear},
|
||||
{"amp", js_amp},
|
||||
{"pre_amp", js_pre_amp},
|
||||
{"deadzone", js_deadzone},
|
||||
{"offset", js_offset},
|
||||
{"type", js_type},
|
||||
{"button", js_axis_button},
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
const char *
|
||||
|
|
Loading…
Reference in a new issue