doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Functions
win_input.cpp File Reference
#include "../../idlib/precompiled.h"
#include "win_local.h"

Go to the source code of this file.

Classes

struct  MYDATA
 

Macros

#define DINPUT_BUFFERSIZE   256
 
#define CHAR_FIRSTREPEAT   200
 
#define CHAR_REPEAT   100
 
#define NUM_OBJECTS   (sizeof(rgodf) / sizeof(rgodf[0]))
 

Typedefs

typedef struct MYDATA MYDATA
 

Functions

bool IN_StartupKeyboard (void)
 
int IN_DIMapKey (int key)
 
void IN_DeactivateKeyboard (void)
 
void IN_InitDirectInput (void)
 
bool IN_InitDIMouse (void)
 
void IN_ActivateMouse (void)
 
void IN_DeactivateMouse (void)
 
void IN_DeactivateMouseIfWindowed (void)
 
void Sys_ShutdownInput (void)
 
void Sys_InitInput (void)
 
void Sys_InitScanTable (void)
 
const unsigned char * Sys_GetScanTable (void)
 
unsigned char Sys_GetConsoleKey (bool shifted)
 
void IN_Frame (void)
 
void Sys_GrabMouseCursor (bool grabIt)
 
int Sys_PollKeyboardInputEvents (void)
 
int Sys_ReturnKeyboardInputEvent (const int n, int &ch, bool &state)
 
void Sys_EndKeyboardInputEvents (void)
 
void Sys_QueMouseEvents (int dwElements)
 
int Sys_PollMouseInputEvents (void)
 
int Sys_ReturnMouseInputEvent (const int n, int &action, int &value)
 
void Sys_EndMouseInputEvents (void)
 
unsigned char Sys_MapCharForKey (int key)
 

Macro Definition Documentation

#define CHAR_FIRSTREPEAT   200

Definition at line 37 of file win_input.cpp.

#define CHAR_REPEAT   100

Definition at line 38 of file win_input.cpp.

#define DINPUT_BUFFERSIZE   256

Definition at line 35 of file win_input.cpp.

#define NUM_OBJECTS   (sizeof(rgodf) / sizeof(rgodf[0]))

Definition at line 264 of file win_input.cpp.

Typedef Documentation

typedef struct MYDATA MYDATA

Function Documentation

void IN_ActivateMouse ( void  )

Definition at line 597 of file win_input.cpp.

void IN_DeactivateKeyboard ( void  )

Definition at line 481 of file win_input.cpp.

void IN_DeactivateMouse ( void  )

Definition at line 627 of file win_input.cpp.

void IN_DeactivateMouseIfWindowed ( void  )

Definition at line 649 of file win_input.cpp.

int IN_DIMapKey ( int  key)

Definition at line 391 of file win_input.cpp.

void IN_Frame ( void  )

Definition at line 764 of file win_input.cpp.

bool IN_InitDIMouse ( void  )

Definition at line 525 of file win_input.cpp.

void IN_InitDirectInput ( void  )

Definition at line 502 of file win_input.cpp.

bool IN_StartupKeyboard ( void  )

Definition at line 283 of file win_input.cpp.

void Sys_EndKeyboardInputEvents ( void  )

Definition at line 948 of file win_input.cpp.

void Sys_EndMouseInputEvents ( void  )

Definition at line 1043 of file win_input.cpp.

unsigned char Sys_GetConsoleKey ( bool  shifted)

Definition at line 753 of file win_input.cpp.

const unsigned char* Sys_GetScanTable ( void  )

Definition at line 744 of file win_input.cpp.

void Sys_GrabMouseCursor ( bool  grabIt)

Definition at line 800 of file win_input.cpp.

void Sys_InitInput ( void  )

Definition at line 693 of file win_input.cpp.

void Sys_InitScanTable ( void  )

Definition at line 713 of file win_input.cpp.

unsigned char Sys_MapCharForKey ( int  key)

Definition at line 1045 of file win_input.cpp.

int Sys_PollKeyboardInputEvents ( void  )

Definition at line 827 of file win_input.cpp.

int Sys_PollMouseInputEvents ( void  )

Definition at line 984 of file win_input.cpp.

void Sys_QueMouseEvents ( int  dwElements)

Definition at line 951 of file win_input.cpp.

int Sys_ReturnKeyboardInputEvent ( const int  n,
int ch,
bool state 
)

Definition at line 934 of file win_input.cpp.

int Sys_ReturnMouseInputEvent ( const int  n,
int action,
int value 
)

Definition at line 1012 of file win_input.cpp.

void Sys_ShutdownInput ( void  )

Definition at line 669 of file win_input.cpp.