|
SDL++
C++wrapperfortheSDLlibrary.
|
Base for joystick hat events that exposes the SDL_JoyHatEvent structure. More...
#include <JoystickEvents.h>


Public Member Functions | |
| JoystickHatBase (const SDL_Event *event) | |
| const SDL_JoyHatEvent & | get () const |
| const SDL_JoyHatEvent & | get () |
Base for joystick hat events that exposes the SDL_JoyHatEvent structure.
Definition at line 124 of file JoystickEvents.h.
| sdl::event::JoystickHatBase::JoystickHatBase | ( | const SDL_Event * | event | ) | [inline, explicit] |
Constructs a JoystickHatBase from a SDL_Event structure.
| event | The SDL_Event structure. |
Definition at line 130 of file JoystickEvents.h.
| const SDL_JoyHatEvent& sdl::event::JoystickHatBase::get | ( | ) | const [inline] |
Exposes the SDL_JoyHatEvent structure.
Definition at line 137 of file JoystickEvents.h.
| const SDL_JoyHatEvent& sdl::event::JoystickHatBase::get | ( | ) | [inline] |
Exposes the SDL_JoyHatEvent structure.
Definition at line 144 of file JoystickEvents.h.