UFO: Alien Invasion
Loading...
Searching...
No Matches
cl_input.cpp File Reference

Client input handling - bindable commands. More...

Include dependency graph for cl_input.cpp:

Go to the source code of this file.

Data Structures

struct  kbutton_t
struct  cursorChange_t

Macros

#define MAX_KEYQ   64
#define SCROLL_BORDER   4
#define MOUSE_YAW_SCALE   0.1
#define MOUSE_PITCH_SCALE   0.1

Enumerations

enum  { BATTLESCAPE_MOUSE_DRAGGING_TRIGGER_X = VID_NORM_WIDTH / 10 , BATTLESCAPE_MOUSE_DRAGGING_TRIGGER_Y = VID_NORM_HEIGHT / 10 }

Functions

static void IN_KeyDown (kbutton_t *b)
 Handles the catch of a kbutton_t state.
static void IN_KeyUp (kbutton_t *b)
 Handles the release of a kbutton_t state.
static void IN_TurnLeftDown_f (void)
static void IN_TurnLeftUp_f (void)
static void IN_TurnRightDown_f (void)
static void IN_TurnRightUp_f (void)
static void IN_TurnUpDown_f (void)
static void IN_TurnUpUp_f (void)
static void IN_TurnDownDown_f (void)
static void IN_TurnDownUp_f (void)
static void IN_PanTiltDown_f (void)
static void IN_PanTiltUp_f (void)
static void IN_ShiftLeftDown_f (void)
static void IN_ShiftLeftUp_f (void)
static void IN_ShiftLeftUpDown_f (void)
static void IN_ShiftLeftUpUp_f (void)
static void IN_ShiftLeftDownDown_f (void)
static void IN_ShiftLeftDownUp_f (void)
static void IN_ShiftRightDown_f (void)
static void IN_ShiftRightUp_f (void)
static void IN_ShiftRightUpDown_f (void)
static void IN_ShiftRightUpUp_f (void)
static void IN_ShiftRightDownDown_f (void)
static void IN_ShiftRightDownUp_f (void)
static void IN_ShiftUpDown_f (void)
static void IN_ShiftUpUp_f (void)
static void IN_ShiftDownDown_f (void)
static void IN_ShiftDownUp_f (void)
static void IN_ZoomInDown_f (void)
static void IN_ZoomInUp_f (void)
static void IN_ZoomOutDown_f (void)
static void IN_ZoomOutUp_f (void)
static void CL_LevelUp_f (void)
 Switch one worldlevel up.
static void CL_LevelDown_f (void)
 Switch one worldlevel down.
static void CL_ZoomInQuant_f (void)
static void CL_ZoomOutQuant_f (void)
static void CL_WheelDown_f (void)
static void CL_WheelUp_f (void)
static void CL_SelectDown_f (void)
 Left mouse click.
static void CL_SelectUp_f (void)
static void CL_ProcessMouseDragging (void)
static void CL_ActionDown_f (void)
 Middle mouse click.
static void CL_ActionUp_f (void)
static void CL_TurnDown_f (void)
 Turn button is hit.
static void CL_TurnUp_f (void)
static void CL_HudRadarDown_f (void)
static void CL_HudRadarUp_f (void)
static void CL_RightClickDown_f (void)
 Right mouse button is hit in menu.
static void CL_RightClickUp_f (void)
 Right mouse button is freed in menu.
static void CL_MiddleClickDown_f (void)
 Middle mouse button is hit in menu.
static void CL_MiddleClickUp_f (void)
 Middle mouse button is freed in menu.
static void CL_LeftClickDown_f (void)
 Left mouse button is hit in menu.
static void CL_LeftClickUp_f (void)
 Left mouse button is freed in menu.
float CL_GetKeyMouseState (int dir)
static void IN_Parse (void)
 Called every frame to parse the input.
static void IN_PrintKey (const SDL_Event *event, int down)
 Debug function to print sdl key events.
static bool IN_TranslateKey (const unsigned int keycode, unsigned int *ascii)
 Translate the keys to ufo keys.
void IN_EventEnqueue (unsigned int keyNum, unsigned short keyUnicode, bool keyDown)
static bool IN_ToggleFullscreen (const bool full)
void IN_Frame (void)
 Handle input events like key presses and joystick movement as well as window events.
static void CL_PressKey_f (void)
void IN_SetMouseSpace (mouseSpace_t mspace)
void IN_Init (void)
void IN_SendKeyEvents (void)

Variables

struct { 
   unsigned int   key 
   unsigned short   unicode 
   int   down 
keyq [MAX_KEYQ]
static int keyq_head = 0
static int keyq_tail = 0
static cvar_tin_debug
cvar_tcl_isometric
mouseSpace_t mouseSpace
int mousePosX
int mousePosY
static int oldMousePosX
static int oldMousePosY
static int battlescapeMouseDraggingX
static int battlescapeMouseDraggingY
static bool battlescapeMouseDraggingPossible
static bool battlescapeMouseDraggingActive
static kbutton_t in_turnleft
static kbutton_t in_turnright
static kbutton_t in_shiftleft
static kbutton_t in_shiftright
static kbutton_t in_shiftup
static kbutton_t in_shiftdown
static kbutton_t in_zoomin
static kbutton_t in_zoomout
static kbutton_t in_turnup
static kbutton_t in_turndown
static kbutton_t in_pantilt
static cursorChange_t cursorChange

Detailed Description

Client input handling - bindable commands.

Note
Continuous button event tracking is complicated by the fact that two different input sources (say, mouse button 1 and the control key) can both press the same button, but the button should only be released when both of the pressing key have been released.

When a key event issues a button command (+forward, +attack, etc), it appends its key number as a parameter to the command so it can be matched up with the release.

Key_Event(unsigned int key, unsigned short unicode, bool down, unsigned time);

+mlook src time

Definition in file cl_input.cpp.

Macro Definition Documentation

◆ MAX_KEYQ

#define MAX_KEYQ   64

Definition at line 61 of file cl_input.cpp.

Referenced by IN_EventEnqueue(), and IN_SendKeyEvents().

◆ MOUSE_PITCH_SCALE

#define MOUSE_PITCH_SCALE   0.1

Definition at line 537 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState().

◆ MOUSE_YAW_SCALE

#define MOUSE_YAW_SCALE   0.1

Definition at line 536 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState().

◆ SCROLL_BORDER

#define SCROLL_BORDER   4

Definition at line 535 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BATTLESCAPE_MOUSE_DRAGGING_TRIGGER_X 
BATTLESCAPE_MOUSE_DRAGGING_TRIGGER_Y 

Definition at line 82 of file cl_input.cpp.

Function Documentation

◆ CL_ActionDown_f()

void CL_ActionDown_f ( void )
static

Middle mouse click.

Definition at line 420 of file cl_input.cpp.

References CL_OnBattlescape(), IN_KeyDown(), and in_pantilt.

Referenced by IN_Init().

◆ CL_ActionUp_f()

void CL_ActionUp_f ( void )
static

Definition at line 427 of file cl_input.cpp.

References CL_ActorActionMouse(), IN_GetMouseSpace, IN_KeyUp(), in_pantilt, IN_SetMouseSpace(), MS_NULL, and MS_UI.

Referenced by IN_Init().

◆ CL_GetKeyMouseState()

◆ CL_HudRadarDown_f()

void CL_HudRadarDown_f ( void )
static
Todo
only call/register it when we are on the battlescape

Definition at line 458 of file cl_input.cpp.

References CL_BattlescapeRunning(), and UI_PushWindow().

Referenced by IN_Init().

◆ CL_HudRadarUp_f()

void CL_HudRadarUp_f ( void )
static
Todo
only call/register it when we are on the battlescape

Definition at line 468 of file cl_input.cpp.

References CL_BattlescapeRunning(), and UI_CloseWindow().

Referenced by IN_Init().

◆ CL_LeftClickDown_f()

void CL_LeftClickDown_f ( void )
static

Left mouse button is hit in menu.

Definition at line 518 of file cl_input.cpp.

References IN_GetMouseSpace, K_MOUSE1, mousePosX, mousePosY, MS_UI, and UI_MouseDown().

Referenced by IN_Init().

◆ CL_LeftClickUp_f()

void CL_LeftClickUp_f ( void )
static

Left mouse button is freed in menu.

Definition at line 528 of file cl_input.cpp.

References IN_GetMouseSpace, K_MOUSE1, mousePosX, mousePosY, MS_UI, and UI_MouseUp().

Referenced by IN_Init().

◆ CL_LevelDown_f()

void CL_LevelDown_f ( void )
static

Switch one worldlevel down.

Definition at line 345 of file cl_input.cpp.

References CL_OnBattlescape(), cl_worldlevel, and Cvar_SetValue().

Referenced by IN_Init().

◆ CL_LevelUp_f()

void CL_LevelUp_f ( void )
static

Switch one worldlevel up.

Definition at line 335 of file cl_input.cpp.

References cl, CL_OnBattlescape(), cl_worldlevel, and Cvar_SetValue().

Referenced by IN_Init().

◆ CL_MiddleClickDown_f()

void CL_MiddleClickDown_f ( void )
static

Middle mouse button is hit in menu.

Definition at line 498 of file cl_input.cpp.

References IN_GetMouseSpace, K_MOUSE3, mousePosX, mousePosY, MS_UI, and UI_MouseDown().

Referenced by IN_Init().

◆ CL_MiddleClickUp_f()

void CL_MiddleClickUp_f ( void )
static

Middle mouse button is freed in menu.

Definition at line 508 of file cl_input.cpp.

References IN_GetMouseSpace, K_MOUSE3, mousePosX, mousePosY, MS_UI, and UI_MouseUp().

Referenced by IN_Init().

◆ CL_PressKey_f()

void CL_PressKey_f ( void )
static

Simulate press of a key with a command.

Definition at line 1030 of file cl_input.cpp.

References Cmd_Argc(), Cmd_Argv(), Com_Printf(), IN_EventEnqueue(), and Key_StringToKeynum().

Referenced by IN_Init().

◆ CL_ProcessMouseDragging()

◆ CL_RightClickDown_f()

void CL_RightClickDown_f ( void )
static

Right mouse button is hit in menu.

Definition at line 478 of file cl_input.cpp.

References IN_GetMouseSpace, K_MOUSE2, mousePosX, mousePosY, MS_UI, and UI_MouseDown().

Referenced by IN_Init().

◆ CL_RightClickUp_f()

void CL_RightClickUp_f ( void )
static

Right mouse button is freed in menu.

Definition at line 488 of file cl_input.cpp.

References IN_GetMouseSpace, K_MOUSE2, mousePosX, mousePosY, MS_UI, and UI_MouseUp().

Referenced by IN_Init().

◆ CL_SelectDown_f()

◆ CL_SelectUp_f()

◆ CL_TurnDown_f()

void CL_TurnDown_f ( void )
static

Turn button is hit.

Definition at line 440 of file cl_input.cpp.

References CL_ActorTurnMouse(), IN_GetMouseSpace, MS_UI, and MS_WORLD.

Referenced by IN_Init().

◆ CL_TurnUp_f()

void CL_TurnUp_f ( void )
static

Definition at line 448 of file cl_input.cpp.

References IN_GetMouseSpace, IN_SetMouseSpace(), MS_NULL, and MS_UI.

Referenced by IN_Init().

◆ CL_WheelDown_f()

void CL_WheelDown_f ( void )
static

Definition at line 362 of file cl_input.cpp.

References UI_MouseScroll().

Referenced by IN_Init().

◆ CL_WheelUp_f()

void CL_WheelUp_f ( void )
static

Definition at line 367 of file cl_input.cpp.

References UI_MouseScroll().

Referenced by IN_Init().

◆ CL_ZoomInQuant_f()

void CL_ZoomInQuant_f ( void )
static

Definition at line 352 of file cl_input.cpp.

References CL_CameraZoomIn().

Referenced by IN_Init().

◆ CL_ZoomOutQuant_f()

void CL_ZoomOutQuant_f ( void )
static

Definition at line 357 of file cl_input.cpp.

References CL_CameraZoomOut().

Referenced by IN_Init().

◆ IN_EventEnqueue()

void IN_EventEnqueue ( unsigned int keyNum,
unsigned short keyUnicode,
bool keyDown )

Definition at line 832 of file cl_input.cpp.

References Com_Printf(), in_debug, Key_KeynumToString(), keyDown, keyq, keyq_head, and MAX_KEYQ.

Referenced by CL_PressKey_f(), IN_Frame(), and IN_JoystickMove().

◆ IN_Frame()

◆ IN_Init()

◆ IN_KeyDown()

◆ IN_KeyUp()

void IN_KeyUp ( kbutton_t * b)
static

Handles the release of a kbutton_t state.

See also
IN_KeyDown
CL_GetKeyMouseState
Note
Called from console callbacks with two parameters, the key and the milliseconds when the key was released
Parameters
[in,out]bthe button state to

Definition at line 159 of file cl_input.cpp.

References Cmd_Argv(), kbutton_t::down, kbutton_t::downtime, kbutton_t::msec, and kbutton_t::state.

Referenced by CL_ActionUp_f(), IN_PanTiltUp_f(), IN_ShiftDownUp_f(), IN_ShiftLeftDownUp_f(), IN_ShiftLeftUp_f(), IN_ShiftLeftUpUp_f(), IN_ShiftRightDownUp_f(), IN_ShiftRightUp_f(), IN_ShiftRightUpUp_f(), IN_ShiftUpUp_f(), IN_TurnDownUp_f(), IN_TurnLeftUp_f(), IN_TurnRightUp_f(), IN_TurnUpUp_f(), IN_ZoomInUp_f(), and IN_ZoomOutUp_f().

◆ IN_PanTiltDown_f()

void IN_PanTiltDown_f ( void )
static

Definition at line 232 of file cl_input.cpp.

References IN_GetMouseSpace, IN_KeyDown(), in_pantilt, and MS_WORLD.

Referenced by IN_Init().

◆ IN_PanTiltUp_f()

void IN_PanTiltUp_f ( void )
static

Definition at line 238 of file cl_input.cpp.

References IN_KeyUp(), and in_pantilt.

Referenced by IN_Init().

◆ IN_Parse()

void IN_Parse ( void )
static

Called every frame to parse the input.

See also
CL_Frame

Definition at line 580 of file cl_input.cpp.

References ca_active, CL_ActorMouseTrace(), cls, IN_SetMouseSpace(), MS_NULL, MS_UI, MS_WORLD, UI_IsMouseOnWindow(), and viddef.

Referenced by IN_Frame().

◆ IN_PrintKey()

void IN_PrintKey ( const SDL_Event * event,
int down )
inlinestatic

Debug function to print sdl key events.

Definition at line 605 of file cl_input.cpp.

References Com_Printf(), down, in_debug, and unicode.

Referenced by IN_Frame().

◆ IN_SendKeyEvents()

void IN_SendKeyEvents ( void )
See also
CL_SendCommand

Definition at line 1139 of file cl_input.cpp.

References CL_Milliseconds(), down, key, Key_Event(), keyq, keyq_head, keyq_tail, MAX_KEYQ, and unicode.

Referenced by CL_SendCommand().

◆ IN_SetMouseSpace()

◆ IN_ShiftDownDown_f()

void IN_ShiftDownDown_f ( void )
static

Definition at line 306 of file cl_input.cpp.

References IN_KeyDown(), and in_shiftdown.

Referenced by IN_Init().

◆ IN_ShiftDownUp_f()

void IN_ShiftDownUp_f ( void )
static

Definition at line 310 of file cl_input.cpp.

References IN_KeyUp(), and in_shiftdown.

Referenced by IN_Init().

◆ IN_ShiftLeftDown_f()

void IN_ShiftLeftDown_f ( void )
static

Definition at line 242 of file cl_input.cpp.

References IN_KeyDown(), and in_shiftleft.

Referenced by IN_Init().

◆ IN_ShiftLeftDownDown_f()

void IN_ShiftLeftDownDown_f ( void )
static

Definition at line 260 of file cl_input.cpp.

References IN_KeyDown(), in_shiftdown, and in_shiftleft.

Referenced by IN_Init().

◆ IN_ShiftLeftDownUp_f()

void IN_ShiftLeftDownUp_f ( void )
static

Definition at line 265 of file cl_input.cpp.

References IN_KeyUp(), in_shiftdown, and in_shiftleft.

Referenced by IN_Init().

◆ IN_ShiftLeftUp_f()

void IN_ShiftLeftUp_f ( void )
static

Definition at line 246 of file cl_input.cpp.

References IN_KeyUp(), and in_shiftleft.

Referenced by IN_Init().

◆ IN_ShiftLeftUpDown_f()

void IN_ShiftLeftUpDown_f ( void )
static

Definition at line 250 of file cl_input.cpp.

References IN_KeyDown(), in_shiftleft, and in_shiftup.

Referenced by IN_Init().

◆ IN_ShiftLeftUpUp_f()

void IN_ShiftLeftUpUp_f ( void )
static

Definition at line 255 of file cl_input.cpp.

References IN_KeyUp(), in_shiftleft, and in_shiftup.

Referenced by IN_Init().

◆ IN_ShiftRightDown_f()

void IN_ShiftRightDown_f ( void )
static

Definition at line 270 of file cl_input.cpp.

References IN_KeyDown(), and in_shiftright.

Referenced by IN_Init().

◆ IN_ShiftRightDownDown_f()

void IN_ShiftRightDownDown_f ( void )
static

Definition at line 288 of file cl_input.cpp.

References IN_KeyDown(), in_shiftdown, and in_shiftright.

Referenced by IN_Init().

◆ IN_ShiftRightDownUp_f()

void IN_ShiftRightDownUp_f ( void )
static

Definition at line 293 of file cl_input.cpp.

References IN_KeyUp(), in_shiftdown, and in_shiftright.

Referenced by IN_Init().

◆ IN_ShiftRightUp_f()

void IN_ShiftRightUp_f ( void )
static

Definition at line 274 of file cl_input.cpp.

References IN_KeyUp(), and in_shiftright.

Referenced by IN_Init().

◆ IN_ShiftRightUpDown_f()

void IN_ShiftRightUpDown_f ( void )
static

Definition at line 278 of file cl_input.cpp.

References IN_KeyDown(), in_shiftright, and in_shiftup.

Referenced by IN_Init().

◆ IN_ShiftRightUpUp_f()

void IN_ShiftRightUpUp_f ( void )
static

Definition at line 283 of file cl_input.cpp.

References IN_KeyUp(), in_shiftright, and in_shiftup.

Referenced by IN_Init().

◆ IN_ShiftUpDown_f()

void IN_ShiftUpDown_f ( void )
static

Definition at line 298 of file cl_input.cpp.

References IN_KeyDown(), and in_shiftup.

Referenced by IN_Init().

◆ IN_ShiftUpUp_f()

void IN_ShiftUpUp_f ( void )
static

Definition at line 302 of file cl_input.cpp.

References IN_KeyUp(), and in_shiftup.

Referenced by IN_Init().

◆ IN_ToggleFullscreen()

bool IN_ToggleFullscreen ( const bool full)
static

Definition at line 844 of file cl_input.cpp.

References cls.

Referenced by IN_Frame().

◆ IN_TranslateKey()

◆ IN_TurnDownDown_f()

void IN_TurnDownDown_f ( void )
static

Definition at line 224 of file cl_input.cpp.

References IN_KeyDown(), and in_turndown.

Referenced by IN_Init().

◆ IN_TurnDownUp_f()

void IN_TurnDownUp_f ( void )
static

Definition at line 228 of file cl_input.cpp.

References IN_KeyUp(), and in_turndown.

Referenced by IN_Init().

◆ IN_TurnLeftDown_f()

void IN_TurnLeftDown_f ( void )
static

Definition at line 200 of file cl_input.cpp.

References IN_KeyDown(), and in_turnleft.

Referenced by IN_Init().

◆ IN_TurnLeftUp_f()

void IN_TurnLeftUp_f ( void )
static

Definition at line 204 of file cl_input.cpp.

References IN_KeyUp(), and in_turnleft.

Referenced by IN_Init().

◆ IN_TurnRightDown_f()

void IN_TurnRightDown_f ( void )
static

Definition at line 208 of file cl_input.cpp.

References IN_KeyDown(), and in_turnright.

Referenced by IN_Init().

◆ IN_TurnRightUp_f()

void IN_TurnRightUp_f ( void )
static

Definition at line 212 of file cl_input.cpp.

References IN_KeyUp(), and in_turnright.

Referenced by IN_Init().

◆ IN_TurnUpDown_f()

void IN_TurnUpDown_f ( void )
static

Definition at line 216 of file cl_input.cpp.

References IN_KeyDown(), and in_turnup.

Referenced by IN_Init().

◆ IN_TurnUpUp_f()

void IN_TurnUpUp_f ( void )
static

Definition at line 220 of file cl_input.cpp.

References IN_KeyUp(), and in_turnup.

Referenced by IN_Init().

◆ IN_ZoomInDown_f()

void IN_ZoomInDown_f ( void )
static

Definition at line 314 of file cl_input.cpp.

References IN_KeyDown(), and in_zoomin.

Referenced by IN_Init().

◆ IN_ZoomInUp_f()

void IN_ZoomInUp_f ( void )
static

Definition at line 318 of file cl_input.cpp.

References IN_KeyUp(), and in_zoomin.

Referenced by IN_Init().

◆ IN_ZoomOutDown_f()

void IN_ZoomOutDown_f ( void )
static

Definition at line 322 of file cl_input.cpp.

References IN_KeyDown(), and in_zoomout.

Referenced by IN_Init().

◆ IN_ZoomOutUp_f()

void IN_ZoomOutUp_f ( void )
static

Definition at line 326 of file cl_input.cpp.

References IN_KeyUp(), and in_zoomout.

Referenced by IN_Init().

Variable Documentation

◆ battlescapeMouseDraggingActive

bool battlescapeMouseDraggingActive
static

Definition at line 81 of file cl_input.cpp.

Referenced by CL_ProcessMouseDragging(), CL_SelectDown_f(), and CL_SelectUp_f().

◆ battlescapeMouseDraggingPossible

bool battlescapeMouseDraggingPossible
static

Definition at line 81 of file cl_input.cpp.

Referenced by CL_ProcessMouseDragging(), CL_SelectDown_f(), and CL_SelectUp_f().

◆ battlescapeMouseDraggingX

int battlescapeMouseDraggingX
static

Definition at line 79 of file cl_input.cpp.

Referenced by CL_ProcessMouseDragging(), and CL_SelectDown_f().

◆ battlescapeMouseDraggingY

int battlescapeMouseDraggingY
static

Definition at line 80 of file cl_input.cpp.

Referenced by CL_ProcessMouseDragging(), and CL_SelectDown_f().

◆ cl_isometric

◆ cursorChange

cursorChange_t cursorChange
static

Definition at line 1048 of file cl_input.cpp.

Referenced by IN_SetMouseSpace().

◆ down

◆ in_debug

cvar_t* in_debug
static

Definition at line 72 of file cl_input.cpp.

Referenced by IN_EventEnqueue(), IN_Init(), and IN_PrintKey().

◆ in_pantilt

kbutton_t in_pantilt
static

◆ in_shiftdown

◆ in_shiftleft

◆ in_shiftright

◆ in_shiftup

◆ in_turndown

kbutton_t in_turndown
static

Definition at line 103 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_TurnDownDown_f(), and IN_TurnDownUp_f().

◆ in_turnleft

kbutton_t in_turnleft
static

Definition at line 100 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_TurnLeftDown_f(), and IN_TurnLeftUp_f().

◆ in_turnright

kbutton_t in_turnright
static

Definition at line 100 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_TurnRightDown_f(), and IN_TurnRightUp_f().

◆ in_turnup

kbutton_t in_turnup
static

Definition at line 103 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_TurnUpDown_f(), and IN_TurnUpUp_f().

◆ in_zoomin

kbutton_t in_zoomin
static

Definition at line 102 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_ZoomInDown_f(), and IN_ZoomInUp_f().

◆ in_zoomout

kbutton_t in_zoomout
static

Definition at line 102 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_ZoomOutDown_f(), and IN_ZoomOutUp_f().

◆ key

◆ [struct]

struct { ... } keyq[MAX_KEYQ]

◆ keyq_head

int keyq_head = 0
static

Definition at line 69 of file cl_input.cpp.

Referenced by IN_EventEnqueue(), and IN_SendKeyEvents().

◆ keyq_tail

int keyq_tail = 0
static

Definition at line 70 of file cl_input.cpp.

Referenced by IN_SendKeyEvents().

◆ mousePosX

◆ mousePosY

◆ mouseSpace

mouseSpace_t mouseSpace

Definition at line 75 of file cl_input.cpp.

Referenced by IN_SetMouseSpace().

◆ oldMousePosX

◆ oldMousePosY

◆ unicode