FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "SDL.h"
#include "controlconfig/controlsconfig.h"
#include "globalincs/pstypes.h"
#include "graphics/2d.h"
#include "io/key.h"
#include "math/fix.h"
#include "io/timer.h"
#include "localization/localize.h"
#include "parse/scripting.h"
#include "cmdline/cmdline.h"
#include "osapi/osapi.h"
Go to the source code of this file.
Classes | |
struct | keyboard |
Macros | |
#define | THREADED |
#define | KEY_BUFFER_SIZE 16 |
Typedefs | |
typedef struct keyboard | keyboard |
Functions | |
int | key_numlock_is_on () |
void | key_turn_off_numlock () |
void | key_turn_on_numlock () |
int | key_to_ascii (int keycode) |
void | key_flush () |
int | add_one (int n) |
int | key_checkch () |
int | key_inkey () |
void | key_outkey (int key) |
int | key_inkey_time (uint *time) |
int | key_peekkey () |
int | key_getch () |
uint | key_get_shift_status () |
float | key_down_timef (uint scancode) |
int | key_down_count (int scancode) |
int | key_up_count (int scancode) |
int | key_check (int key) |
void | key_mark (uint code, int state, uint latency) |
void | key_close () |
void | key_init () |
void | key_level_init () |
void | key_lost_focus () |
void | key_got_focus () |
int ascii_table[128] |
CRITICAL_SECTION key_lock |
int shifted_ascii_table[128] |