UFO: Alien Invasion
Loading...
Searching...
No Matches
kbutton_t Struct Reference
Collaboration diagram for kbutton_t:
Collaboration graph

Data Fields

int down [2]
unsigned downtime
unsigned msec
int state

Detailed Description

Definition at line 93 of file cl_input.cpp.

Field Documentation

◆ down

int kbutton_t::down[2]

key nums holding it down

Definition at line 94 of file cl_input.cpp.

Referenced by IN_KeyDown(), and IN_KeyUp().

◆ downtime

unsigned kbutton_t::downtime

msec timestamp when the key was pressed down

Definition at line 95 of file cl_input.cpp.

Referenced by IN_KeyDown(), and IN_KeyUp().

◆ msec

unsigned kbutton_t::msec

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

Definition at line 96 of file cl_input.cpp.

Referenced by IN_KeyUp().

◆ state

int kbutton_t::state

1 if down, 0 if not down

Definition at line 97 of file cl_input.cpp.

Referenced by IN_KeyDown(), and IN_KeyUp().


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