inp::Joystick::Event Class Reference

Joystick event class. More...

#include <inp_joystick.hh>

List of all members.

Public Member Functions

 Event (void)
void Clear (void)
bool IfValid (void) const

Public Attributes

Joystick::eAxis mAxis
 which axis
int mAxisVal
 axis movement
Joystick::eButton mButton
 which button
bool mButtonVal
 button on/off


Detailed Description

Joystick event class.

Think of Event as a union: it should be assigned with either an axis or button event (not both).


Constructor & Destructor Documentation

inp::Joystick::Event::Event ( void   )  [inline]


Member Function Documentation

void inp::Joystick::Event::Clear ( void   )  [inline]

bool inp::Joystick::Event::IfValid ( void   )  const [inline]


Member Data Documentation

Joystick::eAxis inp::Joystick::Event::mAxis

which axis

int inp::Joystick::Event::mAxisVal

axis movement

Joystick::eButton inp::Joystick::Event::mButton

which button

bool inp::Joystick::Event::mButtonVal

button on/off


The documentation for this class was generated from the following file: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:28 2007