Go to the source code of this file.
Macros | |
#define | JOY_ABSOLUTE_AXIS 0x00000000 |
#define | JOY_RELATIVE_AXIS 0x00000010 |
#define | JOY_MAX_AXES 6 |
#define | JOY_AXIS_X 0 |
#define | JOY_AXIS_Y 1 |
#define | JOY_AXIS_Z 2 |
#define | JOY_AXIS_R 3 |
#define | JOY_AXIS_U 4 |
#define | JOY_AXIS_V 5 |
Enumerations | |
enum | _ControlList { AxisNada = 0, AxisForward, AxisLook, AxisSide, AxisTurn, AxisUp } |
Functions | |
void | IN_StartupJoystick (void) |
void | Joy_AdvancedUpdate_f (void) |
void | IN_JoyMove (usercmd_t *cmd) |
void | IN_MLookDown (void) |
void | IN_MLookUp (void) |
void | IN_ActivateMouse (void) |
void | IN_DeactivateMouse (void) |
void | IN_StartupMouse (void) |
void | IN_MouseEvent (int mstate) |
void | IN_MouseMove (usercmd_t *cmd) |
void | IN_Init (void) |
void | IN_Shutdown (void) |
void | IN_Activate (qboolean active) |
void | IN_Frame (void) |
void | IN_Move (usercmd_t *cmd) |
void | IN_ClearStates (void) |
PDWORD | RawValuePointer (int axis) |
void | IN_Commands (void) |
qboolean | IN_ReadJoystick (void) |
enum _ControlList |
Definition at line 747 of file in_win.c.
Referenced by IN_Move().
Definition at line 444 of file in_win.c.
Referenced by CL_CreateCmd().
Definition at line 384 of file in_win.c.
Referenced by CL_Shutdown().
PDWORD RawValuePointer | ( | int | axis | ) |
POINT current_pos |
Definition at line 121 of file in_win.c.
Referenced by IN_MouseMove().
DWORD dwAxisFlags[JOY_MAX_AXES] |
Definition at line 46 of file in_win.c.
Referenced by Joy_AdvancedUpdate_f().
DWORD dwAxisMap[JOY_MAX_AXES] |
Definition at line 51 of file in_win.c.
Referenced by IN_JoyMove(), and Joy_AdvancedUpdate_f().
DWORD dwControlMap[JOY_MAX_AXES] |
Definition at line 52 of file in_win.c.
Referenced by IN_JoyMove(), and Joy_AdvancedUpdate_f().
qboolean in_appactive |
Definition at line 92 of file in_win.c.
Referenced by IN_Activate(), and IN_Frame().
cvar_t* in_joystick |
Definition at line 56 of file in_win.c.
Referenced by ControlsSetMenuItemValues(), IN_Init(), and IN_JoyMove().
cvar_t* in_mouse |
Definition at line 55 of file in_win.c.
Referenced by IN_ActivateMouse(), IN_Frame(), and IN_Init().
|
static |
Definition at line 90 of file in_win.c.
Referenced by IN_Commands(), IN_ReadJoystick(), IN_StartupJoystick(), and RawValuePointer().
cvar_t* joy_advanced |
Definition at line 65 of file in_win.c.
Referenced by IN_Init(), IN_JoyMove(), and Joy_AdvancedUpdate_f().
qboolean joy_advancedinit |
Definition at line 83 of file in_win.c.
Referenced by IN_JoyMove(), and IN_StartupJoystick().
cvar_t* joy_advaxisr |
Definition at line 69 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
cvar_t* joy_advaxisu |
Definition at line 70 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
cvar_t* joy_advaxisv |
Definition at line 71 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
cvar_t* joy_advaxisx |
Definition at line 66 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
cvar_t* joy_advaxisy |
Definition at line 67 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
cvar_t* joy_advaxisz |
Definition at line 68 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
qboolean joy_avail |
Definition at line 83 of file in_win.c.
Referenced by IN_Commands(), IN_JoyMove(), and IN_StartupJoystick().
DWORD joy_flags |
Definition at line 87 of file in_win.c.
Referenced by IN_ReadJoystick(), and Joy_AdvancedUpdate_f().
cvar_t* joy_forwardsensitivity |
Definition at line 76 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_forwardthreshold |
Definition at line 72 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
qboolean joy_haspov |
Definition at line 83 of file in_win.c.
Referenced by IN_Commands(), and IN_StartupJoystick().
int joy_id |
Definition at line 86 of file in_win.c.
Referenced by IN_ReadJoystick(), and IN_StartupJoystick().
cvar_t* joy_name |
Definition at line 64 of file in_win.c.
Referenced by IN_Init(), and Joy_AdvancedUpdate_f().
DWORD joy_numbuttons |
Definition at line 88 of file in_win.c.
Referenced by IN_Commands(), and IN_StartupJoystick().
DWORD joy_oldbuttonstate |
Definition at line 84 of file in_win.c.
Referenced by IN_Commands(), and IN_StartupJoystick().
DWORD joy_oldpovstate |
Definition at line 84 of file in_win.c.
Referenced by IN_Commands(), and IN_StartupJoystick().
cvar_t* joy_pitchsensitivity |
Definition at line 78 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_pitchthreshold |
Definition at line 74 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_sidesensitivity |
Definition at line 77 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_sidethreshold |
Definition at line 73 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_upsensitivity |
Definition at line 81 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_upthreshold |
Definition at line 80 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_yawsensitivity |
Definition at line 79 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* joy_yawthreshold |
Definition at line 75 of file in_win.c.
Referenced by IN_Init(), and IN_JoyMove().
cvar_t* m_filter |
Definition at line 108 of file in_win.c.
Referenced by IN_Init(), and IN_MouseMove().
qboolean mlooking |
Definition at line 110 of file in_win.c.
Referenced by IN_JoyMove(), IN_MLookDown(), IN_MLookUp(), and IN_MouseMove().
int mouse_buttons |
Definition at line 119 of file in_win.c.
Referenced by IN_MouseEvent(), and IN_StartupMouse().
int mouse_oldbuttonstate |
Definition at line 120 of file in_win.c.
Referenced by IN_ClearStates(), and IN_MouseEvent().
int mouse_x |
Definition at line 122 of file in_win.c.
Referenced by IN_MouseMove().
int mouse_y |
Definition at line 122 of file in_win.c.
Referenced by IN_MouseMove().
qboolean mouseactive |
Definition at line 126 of file in_win.c.
Referenced by IN_Activate(), IN_ActivateMouse(), IN_DeactivateMouse(), and IN_MouseMove().
qboolean mouseinitialized |
Definition at line 129 of file in_win.c.
Referenced by IN_ActivateMouse(), IN_DeactivateMouse(), IN_Frame(), IN_MouseEvent(), and IN_StartupMouse().
qboolean mouseparmsvalid |
Definition at line 131 of file in_win.c.
Referenced by IN_ActivateMouse(), and IN_StartupMouse().
int mx_accum |
Definition at line 122 of file in_win.c.
Referenced by IN_ClearStates().
int my_accum |
Definition at line 122 of file in_win.c.
Referenced by IN_ClearStates().
int newmouseparms[3] = {0, 0, 0} |
Definition at line 130 of file in_win.c.
Referenced by IN_ActivateMouse().
int old_mouse_x |
Definition at line 122 of file in_win.c.
Referenced by IN_MouseMove().
int old_mouse_y |
Definition at line 122 of file in_win.c.
Referenced by IN_MouseMove().
int old_x |
Definition at line 124 of file in_win.c.
Referenced by IN_ActivateMouse().
int old_y |
Definition at line 124 of file in_win.c.
Referenced by IN_ActivateMouse().
int originalmouseparms[3] |
Definition at line 130 of file in_win.c.
Referenced by IN_DeactivateMouse(), and IN_StartupMouse().
PDWORD pdwRawValue[JOY_MAX_AXES] |
Definition at line 53 of file in_win.c.
Referenced by IN_JoyMove(), and Joy_AdvancedUpdate_f().
qboolean restore_spi |
Definition at line 128 of file in_win.c.
Referenced by IN_ActivateMouse(), and IN_DeactivateMouse().
unsigned sys_msg_time |
Definition at line 48 of file sys_win.c.
Referenced by IN_MouseEvent().
int window_center_x |
Definition at line 133 of file in_win.c.
Referenced by IN_ActivateMouse(), and IN_MouseMove().
int window_center_y |
Definition at line 133 of file in_win.c.
Referenced by IN_ActivateMouse(), and IN_MouseMove().
RECT window_rect |
Definition at line 134 of file in_win.c.
Referenced by IN_ActivateMouse().