OGRE  1.12.12
Object-Oriented Graphics Rendering Engine

SDL2 inspired input abstraction layer providing basic events. More...

Classes

struct  OgreBites::AxisEvent
 
struct  OgreBites::ButtonEvent
 
union  OgreBites::Event
 
struct  OgreBites::InputListener
 the return values of the callbacks are ignored by ApplicationContext however they can be used to control event propagation in a hierarchy. More...
 
class  OgreBites::InputListenerChain
 Chain of multiple InputListeners that acts as a single InputListener. More...
 
struct  OgreBites::KeyboardEvent
 
struct  OgreBites::Keysym
 
struct  OgreBites::MouseButtonEvent
 
struct  OgreBites::MouseMotionEvent
 
struct  OgreBites::MouseWheelEvent
 
struct  OgreBites::TextInputEvent
 
struct  OgreBites::TouchFingerEvent
 

Typedefs

typedef int OgreBites::Keycode
 

Enumerations

enum  {
  OgreBites::SDLK_DELETE = int('\177'), OgreBites::SDLK_RETURN = int('\r'), OgreBites::SDLK_ESCAPE = int('\033'), OgreBites::SDLK_SPACE = int(' '),
  OgreBites::SDLK_F1 = (1 << 30) | 0x3A, OgreBites::SDLK_F2, OgreBites::SDLK_F3, OgreBites::SDLK_F4,
  OgreBites::SDLK_F5, OgreBites::SDLK_F6, OgreBites::SDLK_F7, OgreBites::SDLK_F8,
  OgreBites::SDLK_F9, OgreBites::SDLK_F10, OgreBites::SDLK_F11, OgreBites::SDLK_F12,
  OgreBites::SDLK_PRINTSCREEN, OgreBites::SDLK_SCROLLLOCK, OgreBites::SDLK_PAUSE, OgreBites::SDLK_INSERT,
  OgreBites::SDLK_HOME, OgreBites::SDLK_PAGEUP, OgreBites::SDLK_END = (1 << 30) | 0x4D, OgreBites::SDLK_PAGEDOWN,
  OgreBites::SDLK_RIGHT, OgreBites::SDLK_LEFT, OgreBites::SDLK_DOWN, OgreBites::SDLK_UP,
  OgreBites::SDLK_NUMLOCKCLEAR, OgreBites::SDLK_KP_DIVIDE, OgreBites::SDLK_KP_MULTIPLY, OgreBites::SDLK_KP_MINUS,
  OgreBites::SDLK_KP_PLUS, OgreBites::SDLK_KP_ENTER, OgreBites::SDLK_KP_1, OgreBites::SDLK_KP_2,
  OgreBites::SDLK_KP_3, OgreBites::SDLK_KP_4, OgreBites::SDLK_KP_5, OgreBites::SDLK_KP_6,
  OgreBites::SDLK_KP_7, OgreBites::SDLK_KP_8, OgreBites::SDLK_KP_9, OgreBites::SDLK_KP_0,
  OgreBites::SDLK_KP_PERIOD, OgreBites::SDLK_LSHIFT = (1 << 30) | 0xE1, OgreBites::KMOD_ALT = 0x0100 | 0x0200, OgreBites::KMOD_CTRL = 0x0040 | 0x0080,
  OgreBites::KMOD_GUI = 0x0400 | 0x0800, OgreBites::KMOD_SHIFT = 0x0001 | 0x0002, OgreBites::KMOD_NUM = 0x1000
}
 
enum  OgreBites::ButtonType { OgreBites::BUTTON_LEFT = 1, OgreBites::BUTTON_MIDDLE, OgreBites::BUTTON_RIGHT }
 
enum  OgreBites::EventType {
  OgreBites::KEYDOWN = 1, OgreBites::KEYUP, OgreBites::MOUSEBUTTONDOWN, OgreBites::MOUSEBUTTONUP,
  OgreBites::MOUSEWHEEL, OgreBites::MOUSEMOTION, OgreBites::FINGERDOWN, OgreBites::FINGERUP,
  OgreBites::FINGERMOTION, OgreBites::TEXTINPUT, OgreBites::CONTROLLERAXISMOTION, OgreBites::CONTROLLERBUTTONDOWN,
  OgreBites::CONTROLLERBUTTONUP
}
 

Detailed Description

SDL2 inspired input abstraction layer providing basic events.

Typedef Documentation

◆ Keycode

typedef int OgreBites::Keycode

Enumeration Type Documentation

◆ ButtonType

Enumerator
BUTTON_LEFT 
BUTTON_MIDDLE 
BUTTON_RIGHT 

◆ EventType

Enumerator
KEYDOWN 
KEYUP 
MOUSEBUTTONDOWN 
MOUSEBUTTONUP 
MOUSEWHEEL 
MOUSEMOTION 
FINGERDOWN 
FINGERUP 
FINGERMOTION 
TEXTINPUT 
CONTROLLERAXISMOTION 
CONTROLLERBUTTONDOWN 
CONTROLLERBUTTONUP 

◆ anonymous enum

anonymous enum
Enumerator
SDLK_DELETE 
SDLK_RETURN 
SDLK_ESCAPE 
SDLK_SPACE 
SDLK_F1 
SDLK_F2 
SDLK_F3 
SDLK_F4 
SDLK_F5 
SDLK_F6 
SDLK_F7 
SDLK_F8 
SDLK_F9 
SDLK_F10 
SDLK_F11 
SDLK_F12 
SDLK_PRINTSCREEN 
SDLK_SCROLLLOCK 
SDLK_PAUSE 
SDLK_INSERT 
SDLK_HOME 
SDLK_PAGEUP 
SDLK_END 
SDLK_PAGEDOWN 
SDLK_RIGHT 
SDLK_LEFT 
SDLK_DOWN 
SDLK_UP 
SDLK_NUMLOCKCLEAR 
SDLK_KP_DIVIDE 
SDLK_KP_MULTIPLY 
SDLK_KP_MINUS 
SDLK_KP_PLUS 
SDLK_KP_ENTER 
SDLK_KP_1 
SDLK_KP_2 
SDLK_KP_3 
SDLK_KP_4 
SDLK_KP_5 
SDLK_KP_6 
SDLK_KP_7 
SDLK_KP_8 
SDLK_KP_9 
SDLK_KP_0 
SDLK_KP_PERIOD 
SDLK_LSHIFT 
KMOD_ALT 
KMOD_CTRL 
KMOD_GUI 
KMOD_SHIFT 
KMOD_NUM