DDraceNetwork Docs
input.cpp File Reference
#include <SDL.h>
#include <base/system.h>
#include <engine/console.h>
#include <engine/graphics.h>
#include <engine/input.h>
#include <engine/keys.h>
#include <engine/shared/config.h>
#include "input.h"
#include "keynames.h"
#include <SDL_syswm.h>
Include dependency graph for input.cpp:

Macros

#define KEYS_INCLUDE
 
#define SDL_JOYSTICK_AXIS_MIN   (-32768)
 
#define SDL_JOYSTICK_AXIS_MAX   32767
 

Functions

static int TranslateScancode (const SDL_KeyboardEvent &KeyEvent)
 
IEngineInputCreateEngineInput ()
 

Macro Definition Documentation

◆ KEYS_INCLUDE

#define KEYS_INCLUDE

◆ SDL_JOYSTICK_AXIS_MAX

#define SDL_JOYSTICK_AXIS_MAX   32767

◆ SDL_JOYSTICK_AXIS_MIN

#define SDL_JOYSTICK_AXIS_MIN   (-32768)

Function Documentation

◆ CreateEngineInput()

IEngineInput * CreateEngineInput ( )

◆ TranslateScancode()

static int TranslateScancode ( const SDL_KeyboardEvent &  KeyEvent)
static