Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions | Variables
InputRouter.cpp File Reference
#include <boost/algorithm/clamp.hpp>
#include <string.h>
#include <memory>
#include "SDL_keyboard.h"
#include "SDL_keycode.h"
#include "SDL_mouse.h"
#include "SDL_stdinc.h"
#include "SDL_video.h"
#include "include/base/cef_ref_counted.h"
#include "include/cef_base.h"
#include "inexor/io/input/InputRouter.hpp"
#include "inexor/ui/InexorCefApp.hpp"
#include "inexor/ui/screen/ScreenManager.hpp"
#include "inexor/shared/cube_unicode.hpp"

Namespaces

 inexor
 Show stacktrace on unix, do not include directly.
 
 inexor::io
 

Macros

#define keycodeshift   2*(event.button.button>=SDL_BUTTON_X1)
 

Functions

void quit ()
 normal game quit More...
 
size_t decodeutf8 (unsigned char *dst, size_t dstlen, const unsigned char *src, size_t srclen, size_t *carry)
 
void processtextinput (const char *str, int len)
 
void processkey (int code, bool isdown)
 
bool g3d_movecursor (int dx, int dy)
 
void gl_resize ()
 
void mousemove (int dx, int dy)
 

Variables

InputRouter inexor::io::input_router
 InputRouter singleton. More...
 

Macro Definition Documentation

#define keycodeshift   2*(event.button.button>=SDL_BUTTON_X1)

Function Documentation

size_t decodeutf8 ( unsigned char *  dst,
size_t  dstlen,
const unsigned char *  src,
size_t  srclen,
size_t *  carry 
)
bool g3d_movecursor ( int  dx,
int  dy 
)
void gl_resize ( )
void mousemove ( int  dx,
int  dy 
)
void processkey ( int  code,
bool  isdown 
)
void processtextinput ( const char *  str,
int  len 
)
void quit ( )