Go to the source code of this file.
Functions | |
void | IN_JoystickMove (void) |
void | IN_StartupJoystick (void) |
Init available joysticks. | |
void | IN_JoystickInitMenu (void) |
Adds joysticks to the options menu. |
Definition in file cl_joystick.h.
void IN_JoystickInitMenu | ( | void | ) |
Adds joysticks to the options menu.
Definition at line 272 of file cl_joystick.c.
References _, i, OPTION_JOYSTICKS, UI_AddOption(), UI_RegisterOption(), and va().
Referenced by CL_InitAfter().
void IN_JoystickMove | ( | void | ) |
Definition at line 71 of file cl_joystick.c.
References f, hat_keys, viddef_t::height, i, IN_EventEnqueue(), IN_StartupJoystick(), cvar_s::integer, joy_keys, K_JOY1, lengthof, cvar_s::modified, mousePosX, mousePosY, qfalse, qtrue, viddef_t::rx, viddef_t::ry, stick, stick_state, cvar_s::value, viddef, and viddef_t::width.
Referenced by IN_Frame().
void IN_StartupJoystick | ( | void | ) |
Init available joysticks.
Definition at line 290 of file cl_joystick.c.
References Com_DPrintf(), Com_Printf(), CVAR_ARCHIVE, Cvar_Get(), Cvar_Set(), DEBUG_CLIENT, i, cvar_s::integer, cvar_s::modified, qfalse, stick, and stick_state.
Referenced by IN_Init(), and IN_JoystickMove().