SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickAxisMotion< Axes > Struct Template Reference

Represents a joystick axis motion event. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickAxisMotion< Axes >:
Collaboration diagram for sdl::event::JoystickAxisMotion< Axes >:

List of all members.

Public Member Functions

 JoystickAxisMotion (const SDL_Event *event)

Detailed Description

template<int... Axes>
struct sdl::event::JoystickAxisMotion< Axes >

Represents a joystick axis motion event.

Template Parameters:
Theaxes that compose this joystick axis motion event.

Definition at line 68 of file JoystickEvents.h.


Constructor & Destructor Documentation

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

Constructs a JoystickAxisMotion from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 74 of file JoystickEvents.h.


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