SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickHatMotion< Hats > Struct Template Reference

Represents a joystick hat motion event. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickHatMotion< Hats >:
Collaboration diagram for sdl::event::JoystickHatMotion< Hats >:

List of all members.

Public Member Functions

 JoystickHatMotion (const SDL_Event *event)

Detailed Description

template<int... Hats>
struct sdl::event::JoystickHatMotion< Hats >

Represents a joystick hat motion event.

Template Parameters:
HatsThe hats that compose this joystick hat motion event.

Definition at line 154 of file JoystickEvents.h.


Constructor & Destructor Documentation

template<int... Hats>
sdl::event::JoystickHatMotion< Hats >::JoystickHatMotion ( const SDL_Event *  event) [inline, explicit]

Constructs a JoystickHatMotion from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 160 of file JoystickEvents.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs