SDL++
C++wrapperfortheSDLlibrary.
|
Base for joystick axis events that exposes the SDL_JoyAxisEvent structure. More...
#include <JoystickEvents.h>
Public Member Functions | |
JoystickAxisBase (const SDL_Event *event) | |
const SDL_JoyAxisEvent & | get () const |
const SDL_JoyAxisEvent & | get () |
Base for joystick axis events that exposes the SDL_JoyAxisEvent structure.
Definition at line 38 of file JoystickEvents.h.
sdl::event::JoystickAxisBase::JoystickAxisBase | ( | const SDL_Event * | event | ) | [inline, explicit] |
Constructs a JoystickAxisBase from a SDL_Event structure.
event | The SDL_Event structure. |
Definition at line 44 of file JoystickEvents.h.
const SDL_JoyAxisEvent& sdl::event::JoystickAxisBase::get | ( | ) | const [inline] |
Exposes the SDL_JoyAxisEvent structure.
Definition at line 51 of file JoystickEvents.h.
const SDL_JoyAxisEvent& sdl::event::JoystickAxisBase::get | ( | ) | [inline] |
Exposes the SDL_JoyAxisEvent structure.
Definition at line 58 of file JoystickEvents.h.