SDL++
C++wrapperfortheSDLlibrary.

sdl::event::Axis Struct Reference

Represents a joystick axis. More...

#include <Components.h>

List of all members.

Static Public Member Functions

static int which (const SDL_Event *event)

Detailed Description

Represents a joystick axis.

Definition at line 30 of file Components.h.


Member Function Documentation

static int sdl::event::Axis::which ( const SDL_Event *  event) [inline, static]

Returns an int that identifies the component from which the event came.

Parameters:
eventThe event from which to get the identity.
Returns:
The component identity.

Definition at line 38 of file Components.h.


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