SDL++
C++wrapperfortheSDLlibrary.
|
Base for joystick button events that exposes the SDL_JoyButtonEvent structure. More...
#include <JoystickEvents.h>
Public Member Functions | |
JoystickButtonBase (const SDL_Event *event) | |
const SDL_JoyButtonEvent & | get () const |
const SDL_JoyButtonEvent & | get () |
Base for joystick button events that exposes the SDL_JoyButtonEvent structure.
Definition at line 167 of file JoystickEvents.h.
sdl::event::JoystickButtonBase::JoystickButtonBase | ( | const SDL_Event * | event | ) | [inline] |
Constructs a JoystickButtonBase from a SDL_Event structure.
event | The SDL_Event structure. |
Definition at line 173 of file JoystickEvents.h.
const SDL_JoyButtonEvent& sdl::event::JoystickButtonBase::get | ( | ) | const [inline] |
Exposes the SDL_JoyButtonEvent structure.
Definition at line 180 of file JoystickEvents.h.
const SDL_JoyButtonEvent& sdl::event::JoystickButtonBase::get | ( | ) | [inline] |
Exposes the SDL_JoyButtonEvent structure.
Definition at line 187 of file JoystickEvents.h.