UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
kbutton_t Struct Reference

Data Fields

int down [2]
 
unsigned downtime
 
unsigned msec
 
int state
 

Detailed Description

Definition at line 97 of file cl_input.cpp.

Field Documentation

int kbutton_t::down[2]

key nums holding it down

Definition at line 98 of file cl_input.cpp.

Referenced by IN_KeyDown(), and IN_KeyUp().

unsigned kbutton_t::downtime

msec timestamp when the key was pressed down

Definition at line 99 of file cl_input.cpp.

Referenced by IN_KeyDown(), and IN_KeyUp().

unsigned kbutton_t::msec

downtime for this key in msec (delta between pressed and released)

Definition at line 100 of file cl_input.cpp.

Referenced by CL_ActionUp_f(), and IN_KeyUp().

int kbutton_t::state

1 if down, 0 if not down

Definition at line 101 of file cl_input.cpp.

Referenced by CL_GetKeyMouseState(), IN_KeyDown(), and IN_KeyUp().


The documentation for this struct was generated from the following file: