SDL++
C++wrapperfortheSDLlibrary.

sdl::event::Hat Struct Reference

Represents a joystick hat. More...

#include <Components.h>

List of all members.

Static Public Member Functions

static int which (const SDL_Event *event)

Detailed Description

Represents a joystick hat.

Definition at line 45 of file Components.h.


Member Function Documentation

static int sdl::event::Hat::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 53 of file Components.h.


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