SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickButtonPress< Buttons > Struct Template Reference

Represents a joystick button press event. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickButtonPress< Buttons >:
Collaboration diagram for sdl::event::JoystickButtonPress< Buttons >:

List of all members.

Public Member Functions

 JoystickButtonPress (const SDL_Event *event=0)

Detailed Description

template<int... Buttons>
struct sdl::event::JoystickButtonPress< Buttons >

Represents a joystick button press event.

Template Parameters:
ButtonsThe Buttons that compose this joystick button press event.

Definition at line 197 of file JoystickEvents.h.


Constructor & Destructor Documentation

template<int... Buttons>
sdl::event::JoystickButtonPress< Buttons >::JoystickButtonPress ( const SDL_Event *  event = 0) [inline, explicit]

Constructs a JoystickButtonPress from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 203 of file JoystickEvents.h.


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